diff options
author | Arpi <arpi@thot.banki.hu> | 2002-01-11 21:23:48 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2002-01-11 21:23:48 +0000 |
commit | 477c35a9f0bc69dae5891d7380191ca541001613 (patch) | |
tree | e47e1a111f9070fbc0af250032f9aa85154a4c71 | |
parent | 3587d501a37938fd112bbc4642f86e298321ff69 (diff) | |
download | ffmpeg-477c35a9f0bc69dae5891d7380191ca541001613.tar.gz |
mpeg4 encoder fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 254 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegvideo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 544d83cfdd..e6fdc68536 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -260,6 +260,7 @@ int MPV_encode_init(AVCodecContext *avctx) s->gop_size = avctx->gop_size; s->rtp_mode = avctx->rtp_mode; s->rtp_payload_size = avctx->rtp_payload_size; + s->avctx = avctx; if (s->gop_size <= 1) { s->intra_only = 1; |