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:
Justin Ruggles 2010-07-30 19:02:59 +00:00
parent 7fe0c7c823
commit 27e3418844
1 changed files with 0 additions and 1 deletions

View File

@ -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);