summaryrefslogtreecommitdiff
path: root/extra/libwebp/libwebp-0.4.0-giflib-5.1.0.patch
blob: efb06370ae9c2a1d671d0135a105baaa129c191f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rupN a/examples/gif2webp.c b/examples/gif2webp.c
--- a/examples/gif2webp.c	2013-12-20 09:48:07.000000000 +0100
+++ b/examples/gif2webp.c	2014-06-01 13:28:31.790564455 +0200
@@ -644,7 +644,7 @@ int main(int argc, const char *argv[]) {
     DisplayGifError(gif, gif_error);
   }
   if (gif != NULL) {
-    DGifCloseFile(gif);
+    DGifCloseFile(gif, NULL);
   }
 
   return !ok;