[FFmpeg-devel] [PATCH 11/11] avutil/vulkan_glslang: fix compiling failure issue
Wu Jianhua
jianhua.wu at intel.com
Fri Nov 19 15:52:48 EET 2021
Signed-off-by: Wu Jianhua <jianhua.wu at intel.com>
---
libavutil/vulkan_glslang.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c
index ac5efe2365..e7785f6d40 100644
--- a/libavutil/vulkan_glslang.c
+++ b/libavutil/vulkan_glslang.c
@@ -219,10 +219,10 @@ static int glslc_shader_compile(FFVkSPIRVCompiler *ctx, void *avctx,
messages = glslang_program_SPIRV_get_messages(glslc_program);
if (messages) {
- ff_vk_print_shader(s, shd, AV_LOG_WARNING);
+ ff_vk_print_shader(avctx, shd, AV_LOG_WARNING);
av_log(avctx, AV_LOG_WARNING, "%s\n", messages);
} else {
- ff_vk_print_shader(s, shd, AV_LOG_VERBOSE);
+ ff_vk_print_shader(avctx, shd, AV_LOG_VERBOSE);
}
glslang_shader_delete(glslc_shader);
--
2.17.1
More information about the ffmpeg-devel
mailing list