summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
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;
}