diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-22 19:48:52 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-22 19:48:52 +0000 |
commit | 7da71a5c687a3ceff7826a9e60a59aed3b1feffa (patch) | |
tree | 695784576d95b88f13941d7ef0cbc1b5b191821d /libavcodec/h263dec.c | |
parent | 03e93d35b0167a7f163a0e480567e97260920d08 (diff) | |
download | ffmpeg-7da71a5c687a3ceff7826a9e60a59aed3b1feffa.tar.gz |
xvid qpel bug autodetect
Originally committed as revision 1064 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 653a2a8708..1e4345e623 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -376,6 +376,13 @@ uint64_t time= rdtsc(); if(s->divx_version){ s->workaround_bugs|= FF_BUG_QPEL_CHROMA; } + + if(s->avctx->fourcc == ff_get_fourcc("XVID") && s->xvid_build==0) + s->workaround_bugs|= FF_BUG_QPEL_CHROMA; + + if(s->xvid_build && s->xvid_build<=1) + s->workaround_bugs|= FF_BUG_QPEL_CHROMA; + //printf("padding_bug_score: %d\n", s->padding_bug_score); #if 0 if(s->divx_version==500) |