diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-12-19 09:45:50 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-03 18:47:41 -0500 |
commit | 6b77f07074bfdba7106fdbf20106da7d8522655a (patch) | |
tree | 21c98ed4220f6088134b5cfd0cace7063c16c20f /libavcodec/adxenc.c | |
parent | cc40c056d01a95b0a57950d4d8aec9e86060c6b6 (diff) | |
download | ffmpeg-6b77f07074bfdba7106fdbf20106da7d8522655a.tar.gz |
adxenc: remove unnecessary setting of coded_frame->key_frame.
It is already set by avcodec_alloc_frame().
Diffstat (limited to 'libavcodec/adxenc.c')
-rw-r--r-- | libavcodec/adxenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c index a580bb3bc0..43f7801843 100644 --- a/libavcodec/adxenc.c +++ b/libavcodec/adxenc.c @@ -108,7 +108,6 @@ static av_cold int adx_encode_init(AVCodecContext *avctx) avctx->frame_size = 32; avctx->coded_frame = avcodec_alloc_frame(); - avctx->coded_frame->key_frame = 1; /* the cutoff can be adjusted, but this seems to work pretty well */ c->cutoff = 500; |