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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3d824e2d2567cc94b7e3dccadb6270986165359e
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 21 02:45:03 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Oct 24 19:10:48 2026 +0000

    swscale/vulkan/ops: remove the limit on the number of ops
    
    It only existed for the per-op constant IDs, which are no longer stored.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/vulkan/ops.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index 32c3556a4a..ab176e6517 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -76,7 +76,6 @@ AVBufferRef *ff_sws_vk_device_ref(SwsContext *sws)
     return s ? s->vkctx.device_ref : NULL;
 }
 
-#define MAX_OPS 32
 #define MAX_DITHER_BUFS 4
 #define MAX_FILT_BUFS 4
 #define MAX_DATA_BUFS (MAX_DITHER_BUFS + MAX_FILT_BUFS*4)
@@ -955,9 +954,6 @@ static int emit_shader(SwsContext *sws, VulkanPriv *p, 
FFVulkanOpsCtx *s,
     id->ops = ops;
     id->bitexact = !!(sws->flags & SWS_BITEXACT);
 
-    if (ops->num_ops > MAX_OPS)
-        return AVERROR(ENOTSUP);
-
     id->interlaced = ops->src.interlaced || ops->dst.interlaced;
     p->interlaced = id->interlaced;
 

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