diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-05 15:06:12 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-11-05 15:06:12 +0000 |
commit | b190aa89190e236fae7646a6dd18b99123c1eb9b (patch) | |
tree | 065ef3a9ea0ab5fd4203a4c3acf41322570cf476 /libavcodec/gifdec.c | |
parent | 3c88ea24761efda7d1c7886119c618e1f66cb1c9 (diff) | |
download | ffmpeg-b190aa89190e236fae7646a6dd18b99123c1eb9b.tar.gz |
fix decoding position
Originally committed as revision 6900 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index bde483499c..9e8765e1cc 100644 --- a/libavcodec/gifdec.c +++ b/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; |