From b0ef77450df6480941fd6c737c34a44ea29b1f21 Mon Sep 17 00:00:00 2001 From: Matt Sarett Date: Mon, 24 Aug 2015 11:35:24 -0400 Subject: [PATCH] Fix build breakage caused by updating giflib Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7 --- jni/GifTranscoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jni/GifTranscoder.cpp b/jni/GifTranscoder.cpp index 44fa30c..1f329f7 100644 --- a/jni/GifTranscoder.cpp +++ b/jni/GifTranscoder.cpp @@ -498,11 +498,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; } }