diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-13 01:06:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-13 01:06:04 +0000 |
commit | 40802d36bc5bb023c1cca9cc0901338eff7c24a2 (patch) | |
tree | e7fb549edcaf975afe2338e54c739842e7ac6ef3 /libavcodec/4xm.c | |
parent | 9ac34d947ab26e113a48b10b6f66fc4bd7f1c107 (diff) | |
download | ffmpeg-40802d36bc5bb023c1cca9cc0901338eff7c24a2.tar.gz |
fix type 3 aka skipped blocks for old version
Originally committed as revision 10097 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r-- | libavcodec/4xm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index d6f298b0f1..ba80a1531a 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -314,6 +314,8 @@ static void decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src, int lo log2w--; decode_p_block(f, dst , src , log2w, log2h, stride); decode_p_block(f, dst + (1<<log2w), src + (1<<log2w), log2w, log2h, stride); + }else if(code == 3 && f->version==0){ + mcdc(dst, src, log2w, h, stride, 1, 0); }else if(code == 4){ src += f->mv[ *f->bytestream++ ]; mcdc(dst, src, log2w, h, stride, 1, le2me_16(*f->wordstream++)); |