diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 87d22a1167..b23d3a6c97 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -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);