summaryrefslogtreecommitdiff
path: root/community/fbv/giflib-5.0.patch
blob: 462e2fb04eaa195e29d76e3294b3f4fc546472eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -rupN a/gif.c b/gif.c
--- a/gif.c	2003-08-24 22:23:02.000000000 +0200
+++ b/gif.c	2013-07-30 10:27:55.851099159 +0200
@@ -81,7 +81,7 @@ int fh_gif_load(char *name,unsigned char
     ColorMapObject *cmap;
     int cmaps;
 
-    gft=DGifOpenFileName(name);
+    gft=DGifOpenFileName(name, NULL);
     if(gft==NULL){printf("err5\n"); gflush;} //////////
     do
     {
@@ -184,7 +184,7 @@ int fh_gif_getsize(char *name,int *x,int
     int extcode;
     GifRecordType rt;
 
-    gft=DGifOpenFileName(name);
+    gft=DGifOpenFileName(name, NULL);
     if(gft==NULL) gflush;
     do
     {