Commit 0c23ead1 authored by Fabrice Bellard's avatar Fabrice Bellard

copy avctx


Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9d02db7a
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment