diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-22 18:55:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-22 18:55:20 +0000 |
commit | 03e93d35b0167a7f163a0e480567e97260920d08 (patch) | |
tree | d2a981154aa4543ca5b7dba40df08d4ce5622b20 /libavcodec/mpegvideo.c | |
parent | 3b4b29dcd9c5da2ba40a34ce3d9eb3a7f659ba77 (diff) |
xvid qpel bug workaround
Originally committed as revision 1063 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index dff8fffe75..7fadcc2a0f 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1384,7 +1384,7 @@ static inline void qpel_motion(MpegEncContext *s, if(field_based){ mx= motion_x/2; my= motion_y>>1; - }else if(s->divx_version){ + }else if(s->workaround_bugs&FF_BUG_QPEL_CHROMA){ mx= (motion_x>>1)|(motion_x&1); my= (motion_y>>1)|(motion_y&1); }else{ |