mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mpeg4 encoder fix by Michael Niedermayer <michaelni@gmx.at>
Originally committed as revision 254 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3587d501a3
commit
477c35a9f0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user