diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-01 20:43:43 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-02-11 12:49:21 -0500 |
commit | 6e63228323ef9b492156523fb2329ee8440d6b9a (patch) | |
tree | dd10cf998447be5cad538e0e6b69db27ec29d647 /libavcodec | |
parent | 64fe3eaeb351582787cbef75a2fe160253663363 (diff) | |
download | ffmpeg-6e63228323ef9b492156523fb2329ee8440d6b9a.tar.gz |
alacenc: do not set coded_frame->key_frame
It is already set in avcodec_alloc_frame()
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/alacenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |