This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit d6e5dcbb47198a961bf0dffdbd96b1015b418bb6
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Aug 11 21:54:20 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Aug 12 17:21:07 2026 +0200

    avutil/hwcontext_vulkan: suppress -Wtype-limits warning
    
    When the optional instance extensions list is empty the unsigned loop
    bound folds to 0, making the comparison always false. No functional
    change.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 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 046f2f62ad..acd6d4c3be 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -782,7 +782,7 @@ const char **av_vk_get_optional_instance_extensions(int 
*count)
     if (!exts)
         return NULL;
 
-    for (int i = 0; i < FF_ARRAY_ELEMS(optional_instance_exts) - 1; i++)
+    for (int i = 0; i < (int)FF_ARRAY_ELEMS(optional_instance_exts) - 1; i++)
         exts[i] = optional_instance_exts[i].name;
 
     *count = FF_ARRAY_ELEMS(optional_instance_exts) - 1;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to