From ddd308bd74cbc303c76f310328f0fcc1ca5efb5a Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 11 Feb 2019 16:13:43 +0000 Subject: [PATCH] nvenc: silence a compiler warning. --- libhb/nvenc_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0