From 7eeca961e3e496ab93366e5a3f5b695d2d3b99ee Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 15 Dec 2010 17:28:49 +0000 Subject: [PATCH] Remove unneeded line. key_frame is already set to 1 in avcodec_alloc_frame(). Originally committed as revision 26020 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 107fe937f9..647d815899 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1609,7 +1609,6 @@ static av_cold int ac3_encode_init(AVCodecContext *avctx) mdct_init(9); avctx->coded_frame= avcodec_alloc_frame(); - avctx->coded_frame->key_frame= 1; return 0; }