summaryrefslogtreecommitdiff
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-07-30 19:02:59 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-07-30 19:02:59 +0000
commit27e3418844aea51e9d8a8c145871f422504a6598 (patch)
tree07156cf51d9cc8600383b293b1ed872f6d8bbf2f /libavcodec/flacenc.c
parent7fe0c7c823098398b921ce64be346fe5f6f24b65 (diff)
Do not need to set coded_frame->key_frame = 1 because it is already set in
avcodec_alloc_frame(). Originally committed as revision 24600 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 87d22a1167..b23d3a6c97 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -437,7 +437,6 @@ static av_cold int flac_encode_init(AVCodecContext *avctx)
avctx->coded_frame = avcodec_alloc_frame();
if (!avctx->coded_frame)
return AVERROR(ENOMEM);
- avctx->coded_frame->key_frame = 1;
dprint_compression_options(s);