diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-12 00:52:37 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-12 00:52:37 +0000 |
commit | 519c2b6d1182513a83efee5b1e8634a7feaedbbf (patch) | |
tree | ad1720a8fe7f69a95acf165729b998cc2452f4ee /libavcodec/h263dec.c | |
parent | 25ed7f9235a4e2ad0d2089b002622288fc756d73 (diff) | |
download | ffmpeg-519c2b6d1182513a83efee5b1e8634a7feaedbbf.tar.gz |
moved matrix init away from MPV_common_init()
Originally committed as revision 77 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 8bbd3a7580..02fedd90a7 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -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 @@ static int h263_decode_init(AVCodecContext *avctx) 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 |