Browse Source

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

Originally committed as revision 1613 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 23 years ago
parent
commit
d671e2feac
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavcodec/h263dec.c

+ 3
- 1
libavcodec/h263dec.c View File

@@ -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


Loading…
Cancel
Save