changeset 907:b3ae2aba4b24 libavcodec

workaround old xvid bug
author michaelni
date Wed, 04 Dec 2002 12:36:18 +0000
parents bbe0c99231a7
children 2ac4caad5ca6
files h263dec.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Wed Dec 04 12:09:27 2002 +0000
+++ b/h263dec.c	Wed Dec 04 12:36:18 2002 +0000
@@ -461,6 +461,9 @@
         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;