changeset 938:1e22655551b9 libavcodec

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
author michaelni
date Sun, 29 Dec 2002 01:27:50 +0000
parents 04fd733c5e4b
children 3800f9c70736
files h263dec.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Sun Dec 29 00:57:23 2002 +0000
+++ b/h263dec.c	Sun Dec 29 01:27:50 2002 +0000
@@ -465,6 +465,9 @@
         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;