diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-02-18 19:33:27 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-02-18 19:33:27 +0000 |
commit | d140623fc44c67e8955c56c7cf74c56c94c0f064 (patch) | |
tree | 2e686108e99dc6db02219cdf86fc288f7a3edf46 /libavcodec/i386/mpegvideo_mmx.c | |
parent | 608d0dee6fdb81ad260e74071a329353d74eef39 (diff) | |
download | ffmpeg-d140623fc44c67e8955c56c7cf74c56c94c0f064.tar.gz |
- H.263+ decoder support for Advanded INTRA Coding (buggy)
Originally committed as revision 310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx.c')
-rw-r--r-- | libavcodec/i386/mpegvideo_mmx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx.c b/libavcodec/i386/mpegvideo_mmx.c index 3ca40ca047..542d2d819c 100644 --- a/libavcodec/i386/mpegvideo_mmx.c +++ b/libavcodec/i386/mpegvideo_mmx.c @@ -83,7 +83,10 @@ static void dct_unquantize_h263_mmx(MpegEncContext *s, int i, level, qmul, qadd, nCoeffs; qmul = s->qscale << 1; - qadd = (s->qscale - 1) | 1; + if (s->h263_aic && s->mb_intra) + qadd = 0; + else + qadd = (s->qscale - 1) | 1; if (s->mb_intra) { if (n < 4) |