1 This patch fixes a bug in XVs gif-reading code. The bug could conceivably
2 hit when viewing a number of interlaced GIFs. Thanks to Mark Hanson
3 <mbh@netcom.com> for spotting this one.
8 *** xvgif.c.old Tue Jan 10 14:54:41 1995
9 --- xvgif.c Thu Oct 29 17:43:30 1998
14 /* initialize variables */
15 ! BitOffset = XC = YC = Pass = OutCount = gotimage = 0;
16 RawGIF = Raster = pic8 = NULL;
22 /* initialize variables */
23 ! BitOffset = XC = YC = OutCount = gotimage = 0;
25 RawGIF = Raster = pic8 = NULL;
31 static byte *ptr = NULL;
32 static int oldYC = -1;
34 if (oldYC != YC) { ptr = pic8 + YC * Width; oldYC = YC; }
39 static byte *ptr = NULL;
40 static int oldYC = -1;
42 ! if (Pass == -1) { /* first time through - init stuff */
47 if (oldYC != YC) { ptr = pic8 + YC * Width; oldYC = YC; }