more simplification

Originally committed as revision 7352 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2006-12-21 22:58:02 +00:00
parent acff54d831
commit df32bc1213

View File

@ -4349,9 +4349,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x,
if(s->codec_id==CODEC_ID_MPEG4){
if(!s->mb_intra){
if(s->pict_type == B_TYPE){
if(s->dquant&1)
s->dquant= 0;
if(s->mv_dir&MV_DIRECT)
if(s->dquant&1 || s->mv_dir&MV_DIRECT)
s->dquant= 0;
}
if(s->mv_type==MV_TYPE_8X8)