aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libmp3lame.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-16 22:12:21 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-20 12:32:30 -0500
commit35cfd7d09c6ac363863255b622e7a03b2415e573 (patch)
tree19573adb87f75058ca9b4521855cf1a3edfaeb51 /libavcodec/libmp3lame.c
parent8dad25ebf7384d824d2a0980ed74c77a32174cc3 (diff)
downloadffmpeg-35cfd7d09c6ac363863255b622e7a03b2415e573.tar.gz
libmp3lame: do not set coded_frame->key_frame.
it is already set in avcodec_alloc_frame()
Diffstat (limited to 'libavcodec/libmp3lame.c')
-rw-r--r--libavcodec/libmp3lame.c1
1 files changed, 0 insertions, 1 deletions
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: