mirror of https://git.ffmpeg.org/ffmpeg.git
Do not need to set coded_frame->key_frame = 1 because it is already set in
avcodec_alloc_frame(). Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7fe0c7c823
commit
27e3418844
|
@ -437,7 +437,6 @@ static av_cold int flac_encode_init(AVCodecContext *avctx)
|
||||||
avctx->coded_frame = avcodec_alloc_frame();
|
avctx->coded_frame = avcodec_alloc_frame();
|
||||||
if (!avctx->coded_frame)
|
if (!avctx->coded_frame)
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
avctx->coded_frame->key_frame = 1;
|
|
||||||
|
|
||||||
dprint_compression_options(s);
|
dprint_compression_options(s);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue