Browse Source

copy avctx

Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard 24 years ago
parent
commit
0c23ead115
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mpeg12.c

+ 1
- 0
libavcodec/mpeg12.c View File

@@ -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];


Loading…
Cancel
Save