summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-30 01:29:29 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-30 01:29:29 +0000
commitbb71e31757ada3017707a61fa74e71c18b5b6586 (patch)
treede5e4ac58cfe73467c0edd76bbdb04c2a89d2545 /libavcodec/h263dec.c
parentbb3debab2cfa9e3e44273ea440cf39e5a872da6d (diff)
downloadffmpeg-streaming-bb71e31757ada3017707a61fa74e71c18b5b6586.zip
ffmpeg-streaming-bb71e31757ada3017707a61fa74e71c18b5b6586.tar.gz
fixing msmpeg4v3 dc-scale for quantizers 24-31
Originally committed as revision 427 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index ebd8ff2..1ab17b1 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -199,9 +199,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
#endif
//fprintf(stderr,"\nFrame: %d\tMB: %d",avctx->frame_number, (s->mb_y * s->mb_width) + s->mb_x);
/* DCT & quantize */
- if (s->h263_msmpeg4) {
- msmpeg4_dc_scale(s);
- } else if (s->h263_pred) {
+ if (s->h263_pred && s->msmpeg4_version!=2) {
h263_dc_scale(s);
} else {
/* default quantization values */
OpenPOWER on IntegriCloud