simplify
[ffmpeg.git] / libavcodec / mpegvideo.c
index 839c2512ba40a35651d1efdc828c20a33b57de97..a122b89004451117054d7cdfbd39d41c027dd4c0 100644 (file)
@@ -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;
                         }