mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libx265: Remove redundant default param call
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
955544e4d0
commit
25bc8390bb
@ -93,7 +93,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
x265_param_default(ctx->params);
|
||||
if (x265_param_default_preset(ctx->params, ctx->preset, ctx->tune) < 0) {
|
||||
av_log(avctx, AV_LOG_ERROR, "Invalid preset or tune.\n");
|
||||
return AVERROR(EINVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user