[Ffmpeg-cvslog] r6900 - trunk/libavcodec/gifdec.c

bcoudurier subversion
Sun Nov 5 16:06:12 CET 2006


Author: bcoudurier
Date: Sun Nov  5 16:06:12 2006
New Revision: 6900

Modified:
   trunk/libavcodec/gifdec.c

Log:
fix decoding position

Modified: trunk/libavcodec/gifdec.c
==============================================================================
--- trunk/libavcodec/gifdec.c	(original)
+++ trunk/libavcodec/gifdec.c	Sun Nov  5 16:06:12 2006
@@ -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;




More information about the ffmpeg-cvslog mailing list