This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 9bb5ae3a42 avutil/hwcontext_vulkan: fix vulkan callback function
prototype
9bb5ae3a42 is described below
commit 9bb5ae3a42caadbfc285d35f75789bd68fbb4683
Author: Zhao Zhili <[email protected]>
AuthorDate: Wed Jan 14 11:52:03 2026 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Thu Jan 15 16:05:56 2026 +0000
avutil/hwcontext_vulkan: fix vulkan callback function prototype
Fix -Wincompatible-function-pointer-types.
Signed-off-by: Zhao Zhili <[email protected]>
---
libavutil/hwcontext_vulkan.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index b16b8670c1..c31903f3ea 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -768,10 +768,11 @@ const char **av_vk_get_optional_device_extensions(int
*count)
return exts;
}
-static VkBool32 VKAPI_CALL
vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEXT severity,
- VkDebugUtilsMessageTypeFlagsEXT
messageType,
- const
VkDebugUtilsMessengerCallbackDataEXT *data,
- void *priv)
+static VKAPI_ATTR
+VkBool32 VKAPI_CALL vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEXT
severity,
+ VkDebugUtilsMessageTypeFlagsEXT
messageType,
+ const VkDebugUtilsMessengerCallbackDataEXT
*data,
+ void *priv)
{
int l;
AVHWDeviceContext *ctx = priv;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]