1 diff -wbBur ziproxy-3.3.0/src/image.c ziproxy-3.3.0.my/src/image.c
2 --- ziproxy-3.3.0/src/image.c 2013-01-04 20:48:50.000000000 +0400
3 +++ ziproxy-3.3.0.my/src/image.c 2014-09-30 18:26:38.277455333 +0400
5 #define MIN_INSIZE_TO_JPEG 600
6 #define MIN_INSIZE_TO_JP2K 800
12 //Forwards. There are more utility functions, but they're used only once.
13 static raw_bitmap *new_raw_bitmap();
19 - if ((GifFile = DGifOpen((void*)&desc, &gif_mem_input)) == NULL)
20 + if ((GifFile = DGifOpen((void*)&desc, &gif_mem_input, NULL)) == NULL)
21 return( IMG_RET_ERR_UNKNOWN + IMG_RET_FLG_WHILE_DECOMP);//more possible reasons
23 bmp = new_raw_bitmap();
26 bmp->pal_bpp = bmp->bpp;
28 - DGifCloseFile(GifFile);
29 + DGifCloseFile(GifFile, NULL);