Mercurial > libavcodec.hg
diff h263dec.c @ 60:35c1141e23d9 libavcodec
moved matrix init away from MPV_common_init()
author | glantau |
---|---|
date | Sun, 12 Aug 2001 00:52:37 +0000 |
parents | 41791691746f |
children | cdd89f96cbe1 |
line wrap: on
line diff
--- a/h263dec.c Sun Aug 12 00:52:01 2001 +0000 +++ b/h263dec.c Sun Aug 12 00:52:37 2001 +0000 @@ -28,7 +28,8 @@ static int h263_decode_init(AVCodecContext *avctx) { MpegEncContext *s = avctx->priv_data; - + int i; + s->out_format = FMT_H263; s->width = avctx->width; @@ -57,6 +58,11 @@ if (MPV_common_init(s) < 0) return -1; + /* XXX: suppress this matrix init, only needed because using mpeg1 + dequantize in mmx case */ + for(i=0;i<64;i++) + s->non_intra_matrix[i] = default_non_intra_matrix[i]; + if (s->h263_msmpeg4) msmpeg4_decode_init_vlc(s); else