"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gd_gif_in.c" between
libgd-2.2.4.tar.gz and libgd-2.2.5.tar.gz

About: LibGD is a library for the dynamic creation of images by programmers (PNG, JPEG, GIF, WebP, XPM, BMP support).

gd_gif_in.c  (libgd-2.2.4):gd_gif_in.c  (libgd-2.2.5)
skipping to change at line 219 skipping to change at line 219
int imw, imh, screen_width, screen_height; int imw, imh, screen_width, screen_height;
int useGlobalColormap; int useGlobalColormap;
int bitPixel, i; int bitPixel, i;
/*1.4//int imageCount = 0; */ /*1.4//int imageCount = 0; */
/* 2.0.28: threadsafe storage */ /* 2.0.28: threadsafe storage */
int ZeroDataBlock = FALSE; int ZeroDataBlock = FALSE;
int haveGlobalColormap; int haveGlobalColormap;
gdImagePtr im = 0; gdImagePtr im = 0;
memset(ColorMap, 0, 3 * MAXCOLORMAPSIZE);
memset(localColorMap, 0, 3 * MAXCOLORMAPSIZE);
if(!ReadOK(fd, buf, 6)) { if(!ReadOK(fd, buf, 6)) {
return 0; return 0;
} }
if(strncmp((char *)buf, "GIF", 3) != 0) { if(strncmp((char *)buf, "GIF", 3) != 0) {
return 0; return 0;
} }
if(memcmp((char *)buf + 3, "87a", 3) == 0) { if(memcmp((char *)buf + 3, "87a", 3) == 0) {
/* GIF87a */ /* GIF87a */
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)