DO NOT MERGE Update FrameSequence to call new DGifCloseFile DO NOT MERGE

Bug:34697653
Test: build; existing CTS tests

This version takes two parameters.

Matches commit 164b6937223c9f9cbb84b213740e3e80f940b193

FPIIM-674

Change-Id: I062a6d6d3c5dfd41d46d3fa2a5aa18ab27ecabf8
(cherry picked from commit e81d3acbc1440f9ea0a61edbdafa0b7354de6351)
diff --git a/framesequence/jni/FrameSequence_gif.cpp b/framesequence/jni/FrameSequence_gif.cpp
index e658425..853f70f 100644
--- a/framesequence/jni/FrameSequence_gif.cpp
+++ b/framesequence/jni/FrameSequence_gif.cpp
@@ -63,7 +63,7 @@
 
     if (DGifSlurp(mGif) != GIF_OK) {
         ALOGW("Gif slurp failed");
-        DGifCloseFile(mGif);
+        DGifCloseFile(mGif, NULL);
         mGif = NULL;
         return;
     }
@@ -132,7 +132,7 @@
 
 FrameSequence_gif::~FrameSequence_gif() {
     if (mGif) {
-        DGifCloseFile(mGif);
+        DGifCloseFile(mGif, NULL);
     }
     delete[] mPreservedFrames;
     delete[] mRestoringFrames;