changeset 4321:6f5a0164162c libavcodec

simplify
author michael
date Thu, 21 Dec 2006 15:46:32 +0000
parents 6c32aa2d9323
children 4c7c3765fdb0
files mpegvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
                         }