This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 91b0dc51476c03c8c38f3184ddfbcd18e460c7ad Author: Niklas Haas <[email protected]> AuthorDate: Wed Oct 21 00:58:52 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Sat Oct 24 19:10:48 2026 +0000 swscale/vulkan/ops: reject dithering of non-float values The dither offsets are added with a float addition, which is not valid for integer values. Co-Authored-By: Claude Opus 5.5 <[email protected]> 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 be3be0621b..8a84f7f865 100644 --- a/libswscale/vulkan/ops.c +++ b/libswscale/vulkan/ops.c @@ -1282,6 +1282,8 @@ static int add_ops_spirv(SwsContext *sws, VulkanPriv *p, FFVulkanOpsCtx *s, } break; case SWS_OP_DITHER: { + if (type_in != SWS_PIXEL_F32) + return AVERROR(ENOTSUP); const struct DitherData *d = &id->dither[oid->buf]; int x_id = spi_OpCompositeExtract(spi, id->u32_type, gid, 0); int y_pos = spi_OpCompositeExtract(spi, id->u32_type, gid, 1); -- 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]
