From 35cfd7d09c6ac363863255b622e7a03b2415e573 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Thu, 16 Feb 2012 22:12:21 -0500 Subject: libmp3lame: do not set coded_frame->key_frame. it is already set in avcodec_alloc_frame() --- libavcodec/libmp3lame.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/libmp3lame.c') diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c index 1241cdc754..040965579d 100644 --- a/libavcodec/libmp3lame.c +++ b/libavcodec/libmp3lame.c @@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx) ret = AVERROR(ENOMEM); goto error; } - avctx->coded_frame->key_frame = 1; return 0; error: -- cgit v1.2.3