From 9885aa80867718c5141eeeb7456a29280552be59 Mon Sep 17 00:00:00 2001 From: Matt Sarett Date: Mon, 24 Aug 2015 11:35:24 -0400 Subject: DO NOT MERGE 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 (cherry picked from commit 60519c717ebac07437af401006078bf944f93add) --- jni/GifTranscoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ ColorARGB GifTranscoder::gifColorToColorARGB(const GifColorType& color) { GifFilesCloser::~GifFilesCloser() { if (mGifIn) { - DGifCloseFile(mGifIn); + DGifCloseFile(mGifIn, NULL); mGifIn = NULL; } if (mGifOut) { - EGifCloseFile(mGifOut); + EGifCloseFile(mGifOut, NULL); mGifOut = NULL; } } -- cgit v1.2.3