Update callers *GifCloseFile for new GIFLIB DO NOT MERGE
Bug:34697653
Test: build; existing CTS tests
Original commit message:
Fix build breakage caused by updating giflib
Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7
diff --git a/jni/GifTranscoder.cpp b/jni/GifTranscoder.cpp
index 0e83982..112feca 100644
--- a/jni/GifTranscoder.cpp
+++ b/jni/GifTranscoder.cpp
@@ -508,11 +508,11 @@
GifFilesCloser::~GifFilesCloser() {
if (mGifIn) {
- DGifCloseFile(mGifIn);
+ DGifCloseFile(mGifIn, NULL);
mGifIn = NULL;
}
if (mGifOut) {
- EGifCloseFile(mGifOut);
+ EGifCloseFile(mGifOut, NULL);
mGifOut = NULL;
}
}