commit | 2034020d8ea4eb7c5f92aaa79b2307d04766bfb3 | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Mon Aug 24 11:21:56 2015 -0400 |
committer | Matt Sarett <msarett@google.com> | Mon Aug 24 11:21:56 2015 -0400 |
tree | bebad1e6cb63cae53b6e9a0ec554d6a7412d96e2 | |
parent | 87c91b56499854ff5a10f8d6b0c282393c7a0c3f [diff] |
Fix build breakage caused by giflib update Change-Id: I225c29f321e75bf2813c389ae3b7e9e888daa3cf
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 @@ GifFilesCloser::~GifFilesCloser() { if (mGifIn) { - DGifCloseFile(mGifIn); + DGifCloseFile(mGifIn, NULL); mGifIn = NULL; } if (mGifOut) { - EGifCloseFile(mGifOut); + EGifCloseFile(mGifOut, NULL); mGifOut = NULL; } }