diff h263dec.c @ 1137:7fb0b38ab5a3 libavcodec

cleaner & more flexible edge bug workaround
author michaelni
date Sat, 15 Mar 2003 20:47:09 +0000
parents 64c7c76ed17c
children e10e841c9bf0
line wrap: on
line diff
--- a/h263dec.c	Sat Mar 15 02:06:09 2003 +0000
+++ b/h263dec.c	Sat Mar 15 20:47:09 2003 +0000
@@ -538,6 +538,11 @@
 //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){
+            s->workaround_bugs|= FF_BUG_EDGE;
+        }
+
 #if 0
         if(s->divx_version==500)
             s->padding_bug_score= 256*256*256*64;