summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-15 20:47:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-15 20:47:09 +0000
commit1c6dcb0f420c747b263d5c17641ae9c216c2e9de (patch)
tree256457d99ff8daa9150643f35c25880d42681992 /libavcodec/h263dec.c
parentd518aebdee8bb5068f43e4fef783dc63ced1679c (diff)
cleaner & more flexible edge bug workaround
Originally committed as revision 1685 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 15383d12f0..bd0f7ff97d 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -538,6 +538,11 @@ retry:
//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;