Mercurial > libavcodec.hg
diff 4xm.c @ 5536:44e140e3cd6a libavcodec
fix type 3 aka skipped blocks for old version
author | michael |
---|---|
date | Mon, 13 Aug 2007 01:06:04 +0000 |
parents | 75b2c31d3dde |
children | 9b20d2534c97 |
line wrap: on
line diff
--- a/4xm.c Mon Aug 13 01:05:19 2007 +0000 +++ b/4xm.c Mon Aug 13 01:06:04 2007 +0000 @@ -314,6 +314,8 @@ 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++));