ffmpeg | branch: master | Lynne <d...@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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to