xvid build 3 still has the padding wrong in 1/8 of the cases :(((((
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2002 01:27:50 +0000 (01:27 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Dec 2002 01:27:50 +0000 (01:27 +0000)
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

index 9a22310..6d295f5 100644 (file)
@@ -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;