From: Justin Ruggles Date: Fri, 17 Feb 2012 03:12:21 +0000 (-0500) Subject: libmp3lame: do not set coded_frame->key_frame. X-Git-Tag: android-x86-4.4-r1~8529^2~3095 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=35cfd7d09c6ac363863255b622e7a03b2415e573;p=android-x86%2Fexternal-ffmpeg.git libmp3lame: do not set coded_frame->key_frame. it is already set in avcodec_alloc_frame() --- 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: