Browse Source

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

Originally committed as revision 7164 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi 19 years ago
parent
commit
37e6f5f321
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flicvideo.c

+ 1
- 1
libavcodec/flicvideo.c View File

@@ -308,7 +308,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx,
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);


Loading…
Cancel
Save