Commit b190aa89 authored by Baptiste Coudurier's avatar Baptiste Coudurier

fix decoding position

Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3c88ea24
...@@ -111,7 +111,7 @@ static int gif_read_image(GifState *s) ...@@ -111,7 +111,7 @@ static int gif_read_image(GifState *s)
/* read all the image */ /* read all the image */
linesize = s->picture.linesize[0]; linesize = s->picture.linesize[0];
ptr1 = s->picture.data[0] + top * linesize + (left * 3); ptr1 = s->picture.data[0] + top * linesize + left;
ptr = ptr1; ptr = ptr1;
pass = 0; pass = 0;
y1 = 0; y1 = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment