From 6e63228323ef9b492156523fb2329ee8440d6b9a Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 1 Feb 2012 20:43:43 -0500 Subject: alacenc: do not set coded_frame->key_frame It is already set in avcodec_alloc_frame() --- libavcodec/alacenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/alacenc.c') diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c index 9725be8185..7fb0de3721 100644 --- a/libavcodec/alacenc.c +++ b/libavcodec/alacenc.c @@ -475,7 +475,6 @@ static av_cold int alac_encode_init(AVCodecContext *avctx) avctx->extradata_size = ALAC_EXTRADATA_SIZE; avctx->coded_frame = avcodec_alloc_frame(); - avctx->coded_frame->key_frame = 1; s->avctx = avctx; ret = ff_lpc_init(&s->lpc_ctx, avctx->frame_size, s->max_prediction_order, -- cgit v1.2.3