summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-08-15 13:11:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-08-15 13:11:03 +0000
commit0c23ead1154cc4c35586574b2589a1049a53211f (patch)
tree8abab0a133650bb3f019e1e084cd32887aa05cc1 /libavcodec
parent9d02db7a176e41eeb1ef547143b9bcfe005dae9e (diff)
downloadffmpeg-streaming-0c23ead1154cc4c35586574b2589a1049a53211f.zip
ffmpeg-streaming-0c23ead1154cc4c35586574b2589a1049a53211f.tar.gz
copy avctx
Originally committed as revision 100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 79bf31d..f0aecd9 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];
OpenPOWER on IntegriCloud