[FFmpeg-cvslog] nvenc: Fix nvec vs. nvenc typo

Diego Biurrun git at videolan.org
Thu Sep 28 19:43:07 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Feb 17 12:40:40 2017 +0100| [00b160af117b782292619c98effce6c8273792e5] | committer: Diego Biurrun

nvenc: Fix nvec vs. nvenc typo

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=00b160af117b782292619c98effce6c8273792e5
---

 libavcodec/nvenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 90b9d1a62a..30da83a08c 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -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;



More information about the ffmpeg-cvslog mailing list