summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-29 01:27:50 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-29 01:27:50 +0000
commita6a494fb2d987282a163a7939eb581485d0cebfb (patch)
tree1e497efc121741864cf5fd7925eaa8728d0914bc /libavcodec/h263dec.c
parent88c0bc7e9c33a77db95186f1aa2b0f89d19b2f67 (diff)
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
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c3
1 files changed, 3 insertions, 0 deletions
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;