commit | b0ef77450df6480941fd6c737c34a44ea29b1f21 | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Mon Aug 24 11:35:24 2015 -0400 |
committer | Matt Sarett <msarett@google.com> | Mon Aug 24 11:35:24 2015 -0400 |
tree | bebad1e6cb63cae53b6e9a0ec554d6a7412d96e2 | |
parent | fd80890f7ffd2916cb79e35362f9c54a93017e5f [diff] [blame] |
Fix build breakage caused by updating giflib Change-Id: I085379470620ec4db13f8baf7a9eb069747270b7
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; } }