summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-02-11 16:13:43 +0000
committersr55 <[email protected]>2019-02-11 16:14:31 +0000
commitddd308bd74cbc303c76f310328f0fcc1ca5efb5a (patch)
treea7fd6461b211029d6c0e77aaf767c00802ef2503 /libhb
parentb4c12bb2fa6f93514d221b6ab21fe0bf3dae9de8 (diff)
nvenc: silence a compiler warning.
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 f1b7f4280..478b2997e 100644
--- a/libhb/nvenc_common.c
+++ b/libhb/nvenc_common.c
@@ -44,7 +44,7 @@ int hb_check_nvenc_available()
#ifdef USE_NVENC
uint32_t nvenc_ver;
- void *context;
+ void *context = NULL;
NvencFunctions *nvenc_dl = NULL;
int loadErr = nvenc_load_functions(&nvenc_dl, context);