From a6a494fb2d987282a163a7939eb581485d0cebfb Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 29 Dec 2002 01:27:50 +0000 Subject: xvid build 3 still has the padding wrong in 1/8 of the cases :((((( having the padding right in 7/8 of the cases confuses the autodetection code too Originally committed as revision 1371 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263dec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/h263dec.c') diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 9a22310c17..6d295f597a 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -465,6 +465,9 @@ retry: if(s->avctx->fourcc == ff_get_fourcc("XVID") && s->xvid_build==0) s->padding_bug_score= 256*256*256*64; + if(s->xvid_build && s->xvid_build<=3) + s->padding_bug_score= 256*256*256*64; + if(s->xvid_build && s->xvid_build<=1) s->workaround_bugs|= FF_BUG_QPEL_CHROMA; -- cgit v1.2.3