[Ffmpeg-cvslog] r7164 - trunk/libavcodec/flicvideo.c

alex subversion
Fri Nov 24 00:50:08 CET 2006


Author: alex
Date: Fri Nov 24 00:50:08 2006
New Revision: 7164

Modified:
   trunk/libavcodec/flicvideo.c

Log:
support byte_run=0 case in DELTA_FLI (this case means only skip pixels)

Modified: trunk/libavcodec/flicvideo.c
==============================================================================
--- trunk/libavcodec/flicvideo.c	(original)
+++ trunk/libavcodec/flicvideo.c	Fri Nov 24 00:50:08 2006
@@ -308,7 +308,7 @@
                                 palette_idx1 = buf[stream_ptr++];
                                 pixels[pixel_ptr++] = palette_idx1;
                             }
-                        } else {
+                        } else if (byte_run < 0) {
                             byte_run = -byte_run;
                             palette_idx1 = buf[stream_ptr++];
                             CHECK_PIXEL_PTR(byte_run);




More information about the ffmpeg-cvslog mailing list