From 08d933bf6169a93631fd76354214f837c973c18f Mon Sep 17 00:00:00 2001 From: Lynne Date: Thu, 10 Jun 2021 12:24:04 +0200 Subject: hwcontext_vulkan: fix typo in vulkan_device_init() load_functions() did not load the device-level functions. --- libavutil/hwcontext_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/hwcontext_vulkan.c') diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index cf903f9f3d..b7da6a7e32 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -1349,7 +1349,7 @@ static int vulkan_device_init(AVHWDeviceContext *ctx) } } - err = load_functions(ctx, 1, 0); + err = load_functions(ctx, 1, 1); if (err < 0) { av_log(ctx, AV_LOG_ERROR, "Unable to load functions!\n"); return err; -- cgit v1.2.3