Commit ddf70db6 authored by Justin Ruggles's avatar Justin Ruggles

adpcmenc: Do not set coded_frame->key_frame.

It is already set in avcodec_alloc_frame().
parent 3c4add27
...@@ -136,7 +136,6 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx) ...@@ -136,7 +136,6 @@ static av_cold int adpcm_encode_init(AVCodecContext *avctx)
} }
avctx->coded_frame = avcodec_alloc_frame(); avctx->coded_frame = avcodec_alloc_frame();
avctx->coded_frame->key_frame= 1;
return 0; return 0;
error: error:
......
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