[Replicant] [PATCH 9/9] Fix building after removing ambientsdk

belgin belginstirbu at hotmail.com
Mon Nov 23 23:47:08 UTC 2020


Signed-off-by: belgin <belginstirbu at hotmail.com>
---
 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;
     }
 }
-- 
2.11.0



More information about the Replicant mailing list