# HG changeset patch # User alex # Date 1164325808 0 # Node ID 5e05fadc93d12c844015fe8df8d12880449a1d5a # Parent cb5e46ee049568457a5b9d3c42ff6213ec636925 support byte_run=0 case in DELTA_FLI (this case means only skip pixels) diff -r cb5e46ee0495 -r 5e05fadc93d1 flicvideo.c --- a/flicvideo.c Thu Nov 23 22:57:20 2006 +0000 +++ b/flicvideo.c Thu Nov 23 23:50:08 2006 +0000 @@ -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);