From ddf70db6d71fdab15bf8626aea4301b85891c2bd Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 30 Jan 2012 12:57:34 -0500 Subject: adpcmenc: Do not set coded_frame->key_frame. It is already set in avcodec_alloc_frame(). --- libavcodec/adpcmenc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/adpcmenc.c') diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index 9697f829d2..9cf1e39149 100644 --- a/libavcodec/adpcmenc.c +++ b/libavcodec/adpcmenc.c @@ -136,7 +136,6 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx) } avctx->coded_frame = avcodec_alloc_frame(); - avctx->coded_frame->key_frame= 1; return 0; error: -- cgit v1.2.3