mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
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();
|
||||
if (!avctx->coded_frame)
|
||||
return AVERROR(ENOMEM);
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
|
||||
dprint_compression_options(s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user