diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 15:46:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-21 15:46:32 +0000 |
commit | 66884a29463e36854b1b665743504e3747009290 (patch) | |
tree | d5138e6c39d2a89197bea01b521e07f245e467d7 /libavcodec | |
parent | d6975eb82b314cd5512ad88edfaa401fd8af6eb5 (diff) | |
download | ffmpeg-66884a29463e36854b1b665743504e3747009290.tar.gz |
simplify
Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-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 839c2512ba..a122b89004 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -4350,7 +4350,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, if(!s->mb_intra){ if(s->pict_type == B_TYPE){ if(s->dquant&1) - s->dquant= (s->dquant/2)*2; + s->dquant= 0; if(s->mv_dir&MV_DIRECT) s->dquant= 0; } |