Update callers *GifCloseFile for new GIFLIB DO NOT MERGE am: 60519c717e

am: 0cf3a7d3ec

Change-Id: I17c2d833878a9e60efc9b65eb5c8d91299d5ea42
This commit is contained in:
Matt Sarett
2017-03-15 16:39:46 +00:00
committed by android-build-merger

View File

@@ -508,11 +508,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;
} }
} }