[FFmpeg-cvslog] hwcontext_vulkan: fix typo in vulkan_device_init()

Lynne git at videolan.org
Thu Jun 10 13:26:30 EEST 2021


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Thu Jun 10 12:24:04 2021 +0200| [08d933bf6169a93631fd76354214f837c973c18f] | committer: Lynne

hwcontext_vulkan: fix typo in vulkan_device_init()

load_functions() did not load the device-level functions.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=08d933bf6169a93631fd76354214f837c973c18f
---

 libavutil/hwcontext_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the ffmpeg-cvslog mailing list