# HG changeset patch # User michael # Date 1166715992 0 # Node ID 6f5a0164162cb522a8e0f2eb7b100650c0ddf9da # Parent 6c32aa2d932361141f0d1c54c753e1bac9763673 simplify diff -r 6c32aa2d9323 -r 6f5a0164162c mpegvideo.c --- a/mpegvideo.c Thu Dec 21 15:45:53 2006 +0000 +++ b/mpegvideo.c Thu Dec 21 15:46:32 2006 +0000 @@ -4350,7 +4350,7 @@ 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; }