Mercurial > libavcodec.hg
changeset 4233:5e05fadc93d1 libavcodec
support byte_run=0 case in DELTA_FLI (this case means only skip pixels)
author | alex |
---|---|
date | Thu, 23 Nov 2006 23:50:08 +0000 |
parents | cb5e46ee0495 |
children | e560d163e7a8 |
files | flicvideo.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);