PR #22366 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22366 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22366.patch
Fixes #22295 Sponsored-by: Sovereign Tech Fund >From 7a88f31d4a62e107ec13a7b248bf0a7a19278954 Mon Sep 17 00:00:00 2001 From: Lynne <[email protected]> Date: Mon, 2 Mar 2026 11:27:13 +0100 Subject: [PATCH] swscale/vulkan: fix compilation with --disable-unstable Fixes #22295 Sponsored-by: Sovereign Tech Fund --- libswscale/vulkan/ops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c index 64c9e3d45b..b224b4daa9 100644 --- a/libswscale/vulkan/ops.c +++ b/libswscale/vulkan/ops.c @@ -157,7 +157,8 @@ static void free_fn(void *priv) av_free(priv); } -#if CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG +#if CONFIG_UNSTABLE && (CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG) + static int add_ops_glsl(VulkanPriv *p, FFVulkanOpsCtx *s, SwsOpList *ops, FFVulkanShader *shd) { @@ -311,7 +312,7 @@ static int compile(SwsContext *sws, SwsOpList *ops, SwsCompiledOp *out) .s = s, }; -#if CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG +#if CONFIG_UNSTABLE && (CONFIG_LIBSHADERC || CONFIG_LIBGLSLANG) { err = add_ops_glsl(&p, s, ops, &p.shd); if (err < 0) -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
