diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-03-16 16:11:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-16 16:11:29 +0000 |
commit | 3edcacde04911dac4c56fd74053505a493e561f8 (patch) | |
tree | eff6e5bc0a3dcecec4b78e3709b2c9c4fc6271d2 /libavcodec/mpeg12.c | |
parent | 6fe1a1a55b90849974a22118040aef6e17999688 (diff) | |
download | ffmpeg-3edcacde04911dac4c56fd74053505a493e561f8.tar.gz |
init cleanup
Originally committed as revision 2899 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |