diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:11:03 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:11:03 +0000 |
commit | 0c23ead1154cc4c35586574b2589a1049a53211f (patch) | |
tree | 8abab0a133650bb3f019e1e084cd32887aa05cc1 | |
parent | 9d02db7a176e41eeb1ef547143b9bcfe005dae9e (diff) | |
download | ffmpeg-0c23ead1154cc4c35586574b2589a1049a53211f.tar.gz |
copy avctx
Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpeg12.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |