changeset 1088:bb27c685fc72 libavcodec

fixing padding bug autodetection for some rare files, closes bug #647941
author michaelni
date Fri, 28 Feb 2003 01:59:56 +0000
parents 7f10d38721ed
children 7e79a58954b1
files h263dec.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h263dec.c	Thu Feb 27 23:26:31 2003 +0000
+++ b/h263dec.c	Fri Feb 28 01:59:56 2003 +0000
@@ -530,9 +530,11 @@
         if(s->divx_version)
             s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE;
 //printf("padding_bug_score: %d\n", s->padding_bug_score);
+        if(s->divx_version==501 && s->divx_build==20020416)
+            s->padding_bug_score= 256*256*256*64;
 #if 0
         if(s->divx_version==500)
-            s->workaround_bugs|= FF_BUG_NO_PADDING;
+            s->padding_bug_score= 256*256*256*64;
 
         /* very ugly XVID padding bug detection FIXME/XXX solve this differently
          * lets hope this at least works