Mercurial > libavcodec.hg
diff mpeg12.c @ 1892:5ac49e7a1b8f libavcodec
init cleanup
author | michael |
---|---|
date | Tue, 16 Mar 2004 16:11:29 +0000 |
parents | f403b3e286b3 |
children | 779bdf5063ce |
line wrap: on
line diff
--- a/mpeg12.c Tue Mar 16 15:38:40 2004 +0000 +++ b/mpeg12.c Tue Mar 16 16:11:29 2004 +0000 @@ -1760,6 +1760,9 @@ static int mpeg_decode_init(AVCodecContext *avctx) { Mpeg1Context *s = avctx->priv_data; + MpegEncContext *s2 = &s->mpeg_enc_ctx; + + MPV_decode_defaults(s2); s->mpeg_enc_ctx.avctx= avctx; s->mpeg_enc_ctx.flags= avctx->flags;