am 1bd8dec0: Merge "Fix breakage from giflib update"
* commit '1bd8dec0b9cf4d77e33cd535eb1f2c76448b505b':
Fix breakage from giflib update
diff --git a/framesequence/jni/FrameSequence_gif.cpp b/framesequence/jni/FrameSequence_gif.cpp
index f8d37f4..4722378 100644
--- a/framesequence/jni/FrameSequence_gif.cpp
+++ b/framesequence/jni/FrameSequence_gif.cpp
@@ -54,7 +54,7 @@
if (DGifSlurp(mGif) != GIF_OK) {
ALOGW("Gif slurp failed");
- DGifCloseFile(mGif);
+ DGifCloseFile(mGif, NULL);
mGif = NULL;
return;
}
@@ -123,7 +123,7 @@
FrameSequence_gif::~FrameSequence_gif() {
if (mGif) {
- DGifCloseFile(mGif);
+ DGifCloseFile(mGif, NULL);
}
delete[] mPreservedFrames;
delete[] mRestoringFrames;