Fix build breakage caused by giflib update
Change-Id: I225c29f321e75bf2813c389ae3b7e9e888daa3cf
This commit is contained in:
@@ -498,11 +498,11 @@ ColorARGB GifTranscoder::gifColorToColorARGB(const GifColorType& color) {
|
|||||||
|
|
||||||
GifFilesCloser::~GifFilesCloser() {
|
GifFilesCloser::~GifFilesCloser() {
|
||||||
if (mGifIn) {
|
if (mGifIn) {
|
||||||
DGifCloseFile(mGifIn);
|
DGifCloseFile(mGifIn, NULL);
|
||||||
mGifIn = NULL;
|
mGifIn = NULL;
|
||||||
}
|
}
|
||||||
if (mGifOut) {
|
if (mGifOut) {
|
||||||
EGifCloseFile(mGifOut);
|
EGifCloseFile(mGifOut, NULL);
|
||||||
mGifOut = NULL;
|
mGifOut = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user