Mercurial > libavcodec.hg
changeset 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 | 3d10c3e84f96 |
files | 4xm.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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++));