aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-02-28 01:59:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-28 01:59:56 +0000
commitd671e2feac59bb5bb6c2883980eadb92e0c8ac89 (patch)
tree7c50f264395fe827c3adf8bf85c4243de8ef49b3
parent948c3a1397709350e094a2aa0b4695f9d0962147 (diff)
downloadffmpeg-d671e2feac59bb5bb6c2883980eadb92e0c8ac89.tar.gz
fixing padding bug autodetection for some rare files, closes bug #647941
Originally committed as revision 1613 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 6540182492..3fd7fb3ab6 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -530,9 +530,11 @@ retry:
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