alacenc: do not set coded_frame->key_frame

It is already set in avcodec_alloc_frame()
This commit is contained in:
Justin Ruggles 2012-02-01 20:43:43 -05:00
parent 64fe3eaeb3
commit 6e63228323

View File

@ -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,