Fix build breakage caused by updating giflib

Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7
This commit is contained in:
Matt Sarett
2015-08-24 11:35:24 -04:00
parent fd80890f7f
commit b0ef77450d

View File

@@ -498,11 +498,11 @@ ColorARGB GifTranscoder::gifColorToColorARGB(const GifColorType& color) {
GifFilesCloser::~GifFilesCloser() {
if (mGifIn) {
DGifCloseFile(mGifIn);
DGifCloseFile(mGifIn, NULL);
mGifIn = NULL;
}
if (mGifOut) {
EGifCloseFile(mGifOut);
EGifCloseFile(mGifOut, NULL);
mGifOut = NULL;
}
}