Mercurial > libavcodec.hg
changeset 4324:fb16458e3a86 libavcodec
more simplification
author | aurel |
---|---|
date | Thu, 21 Dec 2006 22:58:02 +0000 |
parents | c9e6f447fbbc |
children | e2621acf32f1 |
files | mpegvideo.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegvideo.c Thu Dec 21 22:35:13 2006 +0000 +++ b/mpegvideo.c Thu Dec 21 22:58:02 2006 +0000 @@ -4349,9 +4349,7 @@ 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)