Browse Source

libx265: Remove redundant default param call

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
tags/n2.2-rc1
Derek Buitenhuis 11 years ago
parent
commit
25bc8390bb
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/libx265.c

+ 0
- 1
libavcodec/libx265.c View File

@@ -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…
Cancel
Save