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 72e50c4ca1 hwcontext_vulkan: use memcmp instead of strncmp when
testing the dev UUID
72e50c4ca1 is described below
commit 72e50c4ca1f40d812f202b5608763f0a779b2bf1
Author: Lynne <[email protected]>
AuthorDate: Tue Sep 1 19:49:25 2026 +0900
Commit: Lynne <[email protected]>
CommitDate: Tue Sep 1 19:49:37 2026 +0900
hwcontext_vulkan: use memcmp instead of strncmp when testing the dev UUID
Found by Myrsloik, cheers
---
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 b05d613b41..2e0e526041 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1479,7 +1479,7 @@ static int find_device(AVHWDeviceContext *ctx,
VulkanDeviceSelection *select)
if (select->has_uuid) {
for (int i = 0; i < num; i++) {
- if (!strncmp(idp[i].deviceUUID, select->uuid, VK_UUID_SIZE)) {
+ if (!memcmp(idp[i].deviceUUID, select->uuid, VK_UUID_SIZE)) {
choice = i;
goto end;
}
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]