Commit 66884a29 authored by Michael Niedermayer's avatar Michael Niedermayer

simplify

Originally committed as revision 7347 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d6975eb8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment