Browse Source

nvenc: Fix nvec vs. nvenc typo

tags/n3.4
Diego Biurrun 8 years ago
parent
commit
00b160af11
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/nvenc.c

+ 2
- 2
libavcodec/nvenc.c View File

@@ -479,7 +479,7 @@ typedef struct GUIDTuple {

#define PRESET(name, ...) PRESET_ALIAS(name, name, __VA_ARGS__)

static int nvec_map_preset(NVENCContext *ctx)
static int nvenc_map_preset(NVENCContext *ctx)
{
GUIDTuple presets[] = {
PRESET(DEFAULT),
@@ -882,7 +882,7 @@ static int nvenc_setup_encoder(AVCodecContext *avctx)

ctx->params.encodeConfig = &ctx->config;

nvec_map_preset(ctx);
nvenc_map_preset(ctx);

preset_cfg.version = NV_ENC_PRESET_CONFIG_VER;
preset_cfg.presetCfg.version = NV_ENC_CONFIG_VER;


Loading…
Cancel
Save