[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34095 - Extractor/src/plugins
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34095 - Extractor/src/plugins |
Date: |
Thu, 31 Jul 2014 16:58:52 +0200 |
Author: LRN
Date: 2014-07-31 16:58:51 +0200 (Thu, 31 Jul 2014)
New Revision: 34095
Modified:
Extractor/src/plugins/gif_extractor.c
Log:
Add giflib-5.1.0 compatibility
Modified: Extractor/src/plugins/gif_extractor.c
===================================================================
--- Extractor/src/plugins/gif_extractor.c 2014-07-31 13:24:22 UTC (rev
34094)
+++ Extractor/src/plugins/gif_extractor.c 2014-07-31 14:58:51 UTC (rev
34095)
@@ -78,7 +78,11 @@
if (gif_file == NULL || gif_error != 0)
{
if (gif_file != NULL)
+#if GIFLIB_MAJOR < 5 || GIFLIB_MINOR < 1
EGifCloseFile (gif_file);
+#else
+ EGifCloseFile (gif_file, NULL);
+#endif
return; /* not a GIF */
}
#endif
@@ -133,7 +137,11 @@
DGifGetExtensionNext(gif_file, &ext)) &&
(NULL != ext) ) ; /* keep going */
}
+#if defined (GIF_LIB_VERSION) || GIFLIB_MAJOR < 5 || GIFLIB_MINOR < 1
DGifCloseFile (gif_file);
+#else
+ DGifCloseFile (gif_file, NULL);
+#endif
}
/* end of gif_extractor.c */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34095 - Extractor/src/plugins,
gnunet <=