Commit 35cfd7d0 authored by Justin Ruggles's avatar Justin Ruggles

libmp3lame: do not set coded_frame->key_frame.

it is already set in avcodec_alloc_frame()
parent 8dad25eb
...@@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx) ...@@ -89,7 +89,6 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
ret = AVERROR(ENOMEM); ret = AVERROR(ENOMEM);
goto error; goto error;
} }
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