diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-16 18:12:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-16 18:12:14 +0000 |
commit | 6674a126967325fbbeb36fc9d1a0c57fc07d7012 (patch) | |
tree | 0c3ad1da6f00743c69b4e20338e69a210dae6ba3 /libavcodec/h263dec.c | |
parent | fa12b5469db087c5eb5652700fce4df8a94296dc (diff) | |
download | ffmpeg-6674a126967325fbbeb36fc9d1a0c57fc07d7012.tar.gz |
fix edge repeating bug for %16!=0 files, this fixes Quicktime mpeg4 (they arent buggy)
note, encoding wasnt affected by that
Originally committed as revision 2052 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 33e21f5a57..067627c16c 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -512,13 +512,17 @@ retry: if(s->lavc_build && s->lavc_build<4655) s->workaround_bugs|= FF_BUG_DIRECT_BLOCKSIZE; + if(s->lavc_build && s->lavc_build<4618){ + s->workaround_bugs|= FF_BUG_EDGE; + } + 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(s->divx_version>=500){ + if(s->divx_version && s->divx_version<500){ s->workaround_bugs|= FF_BUG_EDGE; } |