From 3edcacde04911dac4c56fd74053505a493e561f8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 16 Mar 2004 16:11:29 +0000 Subject: init cleanup Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/mpeg12.c') diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 9cfc36d41d..f3d118469d 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1760,6 +1760,9 @@ typedef struct Mpeg1Context { 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; -- cgit v1.2.3