1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

copy avctx

Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2001-08-15 13:11:03 +00:00
parent 9d02db7a17
commit 0c23ead115

View File

@ -1396,6 +1396,7 @@ static int mpeg1_decode_sequence(AVCodecContext *avctx,
s->width = width; s->width = width;
s->height = height; s->height = height;
s->has_b_frames = 1; s->has_b_frames = 1;
s->avctx = avctx;
avctx->width = width; avctx->width = width;
avctx->height = height; avctx->height = height;
avctx->frame_rate = frame_rate_tab[s->frame_rate_index]; avctx->frame_rate = frame_rate_tab[s->frame_rate_index];