Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2006-11-24 02:50:08 +0300
committerAlex Beregszaszi <alex@rtfs.hu>2006-11-24 02:50:08 +0300
commit37e6f5f321d2c0a0bd6b21fb4c19cba366061a59 (patch)
tree082c9d62d0f6953de892c7b1ddd5dcecaff095ae /libavcodec/flicvideo.c
parentfe99025b167634ceca4bc8118e2b9eeda5769d21 (diff)
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
Diffstat (limited to 'libavcodec/flicvideo.c')
-rw-r--r--libavcodec/flicvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c
index fcdaf834bc..6a80a15767 100644
--- a/libavcodec/flicvideo.c
+++ b/libavcodec/flicvideo.c
@@ -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);