diff h263dec.c @ 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 b32afefe7d33
children b7f267d168b7
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