fix decoding position

Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent 3c88ea2476
commit b190aa8919
  1. 2
      libavcodec/gifdec.c

@ -111,7 +111,7 @@ static int gif_read_image(GifState *s)
/* read all the image */
linesize = s->picture.linesize[0];
ptr1 = s->picture.data[0] + top * linesize + (left * 3);
ptr1 = s->picture.data[0] + top * linesize + left;
ptr = ptr1;
pass = 0;
y1 = 0;

Loading…
Cancel
Save