Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2021-06-10 13:24:04 +0300
committerLynne <dev@lynne.ee>2021-06-10 13:24:04 +0300
commit08d933bf6169a93631fd76354214f837c973c18f (patch)
treef34e756d16f8e516fa32959c732defa05c0d630d /libavutil/hwcontext_vulkan.c
parent99bbf4a5be77edbde4106a459475cb7973d027c7 (diff)
hwcontext_vulkan: fix typo in vulkan_device_init()
load_functions() did not load the device-level functions.
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r--libavutil/hwcontext_vulkan.c2
1 files changed, 1 insertions, 1 deletions
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;