summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/nvenc_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/nvenc_common.c b/libhb/nvenc_common.c
index 6d1fcead6..15e5c9ab5 100644
--- a/libhb/nvenc_common.c
+++ b/libhb/nvenc_common.c
@@ -37,7 +37,7 @@ int hb_check_nvenc_available()
#ifdef USE_NVENC
uint32_t nvenc_ver;
void *context;
- NvencFunctions *nvenc_dl;
+ NvencFunctions *nvenc_dl = NULL;
int loadErr = nvenc_load_functions(&nvenc_dl, context);
if (loadErr < 0) {