Commit b0ad281d authored by reimar's avatar reimar

Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c686b1f2
......@@ -364,11 +364,8 @@ static int gif_read_image(GifState *s)
y1 += 8;
ptr += linesize * 8;
if (y1 >= height) {
y1 = 4;
if (pass == 0)
ptr = ptr1 + linesize * 4;
else
ptr = ptr1 + linesize * 2;
y1 = pass == 0 ? 4 : 2;
ptr = ptr1 + linesize * y1;
pass++;
}
break;
......
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