]> git.pld-linux.org Git - packages/libextractor.git/blob - libextractor-giflib.patch
- fix building with giflib 5.1
[packages/libextractor.git] / libextractor-giflib.patch
1 --- libextractor-1.3/src/plugins/gif_extractor.c~       2013-06-21 18:00:16.000000000 +0200
2 +++ libextractor-1.3/src/plugins/gif_extractor.c        2014-11-10 08:06:50.807376620 +0100
3 @@ -78,7 +78,7 @@
4    if (gif_file == NULL || gif_error != 0)
5    {
6      if (gif_file != NULL)
7 -      EGifCloseFile (gif_file);
8 +      EGifCloseFile (gif_file, NULL);
9      return; /* not a GIF */
10    }
11  #endif
12 @@ -133,7 +133,7 @@
13                DGifGetExtensionNext(gif_file, &ext)) &&
14               (NULL != ext) ) ; /* keep going */
15      }
16 -  DGifCloseFile (gif_file);
17 +  DGifCloseFile (gif_file, NULL);
18  }
19  
20  /* end of gif_extractor.c */
This page took 0.060189 seconds and 3 git commands to generate.