diff h263dec.c @ 1366:80067f8d6770 libavcodec

fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy) note, encoding wasnt affected by that
author michaelni
date Wed, 16 Jul 2003 18:12:14 +0000
parents cfc80b3a4ada
children 0fd38b711f06
line wrap: on
line diff
--- a/h263dec.c	Wed Jul 16 11:48:59 2003 +0000
+++ b/h263dec.c	Wed Jul 16 18:12:14 2003 +0000
@@ -512,13 +512,17 @@
         if(s->lavc_build && s->lavc_build<4655)
             s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE;
 
+        if(s->lavc_build && s->lavc_build<4618){
+            s->workaround_bugs|= FF_BUG_EDGE;
+        }
+
         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(s->divx_version>=500){
+        if(s->divx_version && s->divx_version<500){
             s->workaround_bugs|= FF_BUG_EDGE;
         }