diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-02 10:18:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-02 10:18:29 +0000 |
commit | 2c19981a93c5c6dd499cc9880a3ecc8a4bbc4753 (patch) | |
tree | fa860166c8028eaa2352425dc0d5ec586d16436a /libavcodec/mpegvideo.c | |
parent | 4d2a48349d6f40a2357bb25b4f360f2a6e669ad4 (diff) | |
download | ffmpeg-2c19981a93c5c6dd499cc9880a3ecc8a4bbc4753.tar.gz |
10l
Originally committed as revision 1725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 99ac289f91..26253d0430 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2396,10 +2396,10 @@ static void encode_mb(MpegEncContext *s, int motion_x, int motion_y) if(s->codec_id==CODEC_ID_MPEG4){ if(!s->mb_intra){ - assert(s->dquant==0 || s->mv_type!=MV_TYPE_8X8); - if(s->mv_dir&MV_DIRECT) s->dquant=0; + + assert(s->dquant==0 || s->mv_type!=MV_TYPE_8X8); } } s->qscale+= s->dquant; |