Commit 6e632283 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

alacenc: do not set coded_frame->key_frame

It is already set in avcodec_alloc_frame()
parent 64fe3eae
......@@ -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,
......
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