am b0ef7745: Fix build breakage caused by updating giflib

* commit 'b0ef77450df6480941fd6c737c34a44ea29b1f21':
  Fix build breakage caused by updating giflib
This commit is contained in:
Matt Sarett
2015-08-24 15:42:13 +00:00
committed by Android Git Automerger
+2 -2
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;
} }
} }