Commit 27e34188 authored by Justin Ruggles's avatar Justin Ruggles

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
parent 7fe0c7c8
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment