diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 19:02:59 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-07-30 19:02:59 +0000 |
commit | 27e3418844aea51e9d8a8c145871f422504a6598 (patch) | |
tree | 07156cf51d9cc8600383b293b1ed872f6d8bbf2f /libavcodec/flacenc.c | |
parent | 7fe0c7c823098398b921ce64be346fe5f6f24b65 (diff) | |
download | ffmpeg-27e3418844aea51e9d8a8c145871f422504a6598.tar.gz |
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.c | 1 |
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); |