Fix build breakage caused by giflib update

Change-Id: I225c29f321e75bf2813c389ae3b7e9e888daa3cf
This commit is contained in:
Matt Sarett
2015-08-24 11:21:56 -04:00
parent 87c91b5649
commit 2034020d8e

View File

@@ -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;
} }
} }