workaround old xvid bug
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Dec 2002 12:36:18 +0000 (12:36 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 4 Dec 2002 12:36:18 +0000 (12:36 +0000)
Originally committed as revision 1306 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c

index 8e1040a5e64598b5ebdd4a25f8e8ea44ade9b5c8..1f8fb44a886271594e0acd363f02e92df68f3fdf 100644 (file)
@@ -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->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;
 
         if(s->xvid_build && s->xvid_build<=1)
             s->workaround_bugs|= FF_BUG_QPEL_CHROMA;