Commit fa326f22 authored by michaelni's avatar michaelni

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1613 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 82fa780c
...@@ -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