mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-26 18:40:00 +08:00
copy avctx
Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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];
|
||||||
|
Reference in New Issue
Block a user