changeset 4143:a8e3a116b41f libavcodec

fix decoding position
author bcoudurier
date Sun, 05 Nov 2006 15:06:12 +0000
parents 79ddfdee291d
children dc52a253f51b
files gifdec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gifdec.c	Sun Nov 05 08:18:52 2006 +0000
+++ b/gifdec.c	Sun Nov 05 15:06:12 2006 +0000
@@ -111,7 +111,7 @@
 
     /* 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;