From 2034020d8ea4eb7c5f92aaa79b2307d04766bfb3 Mon Sep 17 00:00:00 2001 From: Matt Sarett Date: Mon, 24 Aug 2015 11:21:56 -0400 Subject: [PATCH] Fix build breakage caused by giflib update Change-Id: I225c29f321e75bf2813c389ae3b7e9e888daa3cf --- 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; } }