summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-04 12:36:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-04 12:36:18 +0000
commitb92be2af42e0c21526cf39df5da8af8a9dac3493 (patch)
tree17a4183917381bee3a8c178ceea2e0733a7f01a3
parentc8c437bc236ac66756541b5e6a070fb83f309864 (diff)
workaround old xvid bug
Originally committed as revision 1306 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263dec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 8e1040a5e6..1f8fb44a88 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -461,6 +461,9 @@ retry:
if(s->avctx->fourcc == ff_get_fourcc("XVID") && s->xvid_build==0)
s->workaround_bugs|= FF_BUG_QPEL_CHROMA;
+ 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<=1)
s->workaround_bugs|= FF_BUG_QPEL_CHROMA;