Commit 6b77f070 authored by Justin Ruggles's avatar Justin Ruggles

adxenc: remove unnecessary setting of coded_frame->key_frame.

It is already set by avcodec_alloc_frame().
parent cc40c056
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment