mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libmp3lame: do not set coded_frame->key_frame.
it is already set in avcodec_alloc_frame()
This commit is contained in:
parent
8dad25ebf7
commit
35cfd7d09c
@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
|
|||||||
ret = AVERROR(ENOMEM);
|
ret = AVERROR(ENOMEM);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
avctx->coded_frame->key_frame = 1;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user