From 255ad8881db0fa937e3632c4937f23d29d0e423d Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 15 Feb 2012 19:11:06 -0500 Subject: audio encoders: do not set coded_frame->key_frame. it is already set in avcodec_alloc_frame() --- libavcodec/roqaudioenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/roqaudioenc.c') diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index e540e14c24..e2d0f3896e 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -59,7 +59,6 @@ static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx) context->lastSample[0] = context->lastSample[1] = 0; avctx->coded_frame= avcodec_alloc_frame(); - avctx->coded_frame->key_frame= 1; return 0; } -- cgit v1.2.3