1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

hwcontext_vulkan: fix typo in vulkan_device_init()

load_functions() did not load the device-level functions.
This commit is contained in:
Lynne
2021-06-10 12:24:04 +02:00
parent 99bbf4a5be
commit 08d933bf61

View File

@@ -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;