Commit d671e2fe authored by Michael Niedermayer's avatar Michael Niedermayer

fixing padding bug autodetection for some rare files, closes bug #647941

Originally committed as revision 1613 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 948c3a13
...@@ -530,9 +530,11 @@ retry: ...@@ -530,9 +530,11 @@ retry:
if(s->divx_version) if(s->divx_version)
s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE;
//printf("padding_bug_score: %d\n", s->padding_bug_score); //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 0
if(s->divx_version==500) 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 /* very ugly XVID padding bug detection FIXME/XXX solve this differently
* lets hope this at least works * lets hope this at least works
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment