From 0c23ead1154cc4c35586574b2589a1049a53211f Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Wed, 15 Aug 2001 13:11:03 +0000 Subject: [PATCH] copy avctx Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpeg12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 79bf31dff0..f0aecd9803 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1396,6 +1396,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx, s->width = width; s->height = height; s->has_b_frames = 1; + s->avctx = avctx; avctx->width = width; avctx->height = height; avctx->frame_rate = frame_rate_tab[s->frame_rate_index];