Update callers *GifCloseFile for new GIFLIB DO NOT MERGE

am: 60519c717e

Change-Id: I6f3b4664585a35d3177aea9371e283d567044e6e
This commit is contained in:
Matt Sarett
2017-03-15 16:34:47 +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;
} }
} }