aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/gif_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gif_extractor.c')
-rw-r--r--src/plugins/gif_extractor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/gif_extractor.c b/src/plugins/gif_extractor.c
index 405eebe..3b202b5 100644
--- a/src/plugins/gif_extractor.c
+++ b/src/plugins/gif_extractor.c
@@ -36,7 +36,7 @@
36 * @return -1 on error, otherwise number of bytes read 36 * @return -1 on error, otherwise number of bytes read
37 */ 37 */
38static int 38static int
39gif_read_func (GifFileType *ft, 39gif_READ_func (GifFileType *ft,
40 GifByteType *bt, 40 GifByteType *bt,
41 int arg) 41 int arg)
42{ 42{
@@ -68,13 +68,13 @@ EXTRACTOR_gif_extract_method (struct EXTRACTOR_ExtractContext *ec)
68 int et; 68 int et;
69 char dims[128]; 69 char dims[128];
70#if defined (GIF_LIB_VERSION) || GIFLIB_MAJOR <= 4 70#if defined (GIF_LIB_VERSION) || GIFLIB_MAJOR <= 4
71 if (NULL == (gif_file = DGifOpen (ec, &gif_read_func))) 71 if (NULL == (gif_file = DGifOpen (ec, &gif_READ_func)))
72 return; /* not a GIF */ 72 return; /* not a GIF */
73#else 73#else
74 int gif_error; 74 int gif_error;
75 75
76 gif_error = 0; 76 gif_error = 0;
77 gif_file = DGifOpen (ec, &gif_read_func, &gif_error); 77 gif_file = DGifOpen (ec, &gif_READ_func, &gif_error);
78 if ((gif_file == NULL) || (gif_error != 0)) 78 if ((gif_file == NULL) || (gif_error != 0))
79 { 79 {
80 if (gif_file != NULL) 80 if (gif_file != NULL)