1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

adxenc: remove unnecessary setting of coded_frame->key_frame.

It is already set by avcodec_alloc_frame().
This commit is contained in:
Justin Ruggles 2011-12-19 09:45:50 -05:00
parent cc40c056d0
commit 6b77f07074

View File

@ -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;