mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-26 06:05:06 +00:00
libmp3lame: do not set coded_frame->key_frame.
it is already set in avcodec_alloc_frame()
This commit is contained in:
parent
8dad25ebf7
commit
35cfd7d09c
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user