ffmpeg | branch: master | Zhao Zhili <zhiliz...@tencent.com> | Tue Dec 17 
14:55:15 2024 +0800| [7b0bd6c4a7bcb53eacf082e472ff32a81b14edba] | committer: 
Lynne

avutil/vulkan_glslang: Fix build failure

compile_only isn't available until 13.1.0. Let default initialization set
it to zero, so the code works with version before and after 13.1.0.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7b0bd6c4a7bcb53eacf082e472ff32a81b14edba
---

 libavutil/vulkan_glslang.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c
index 9e1b8f4d8d..d116b35ec5 100644
--- a/libavutil/vulkan_glslang.c
+++ b/libavutil/vulkan_glslang.c
@@ -192,7 +192,7 @@ static int glslc_shader_compile(FFVulkanContext *s, 
FFVkSPIRVCompiler *ctx,
         .optimize_size = 0,
         .disassemble = 0,
         .validate = 1,
-        .compile_only = 0,
+        /* .compile_only = 0, */
     };
 #endif
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to