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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3cf06fe177022c9da29816c8abc3158187a68439
Author:     Niklas Haas <[email protected]>
AuthorDate: Fri Jul 17 12:46:25 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Fri Oct 2 14:15:58 2026 +0200

    swscale/vulkan/ops: error out on integer linear ops
    
    As this is code explicitly marked experimental/unstable code, I have opted 
to
    just error out for now. Adding these properly will require additional work
    from Lynne, as part of a different STF milestone.
    
    This will still set up some descriptors containing junk data (integer
    bits reinterpreted as float), but this is harmless.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/vulkan/ops.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index eeb86eec35..68750dc3bb 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -1239,6 +1239,8 @@ static int add_ops_spirv(SwsContext *sws, VulkanPriv *p, 
FFVulkanOpsCtx *s,
             break;
         }
         case SWS_OP_LINEAR: {
+            if (op->type != SWS_PIXEL_F32)
+                 return AVERROR(ENOTSUP);
             if (sws->flags & SWS_BITEXACT)
                 data = insert_bitexact_linear(op, spi, id, data, 
nb_linear_ops, nb_const_ids);
             else

-- 
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]

Reply via email to