[FFmpeg-cvslog] avutil/vulkan_glslang: fix compiling failure issue
Wu Jianhua
git at videolan.org
Fri Nov 19 17:48:36 EET 2021
ffmpeg | branch: master | Wu Jianhua <jianhua.wu at intel.com> | Fri Nov 19 21:52:48 2021 +0800| [ff82bd5a008e277e2120231d61a9d147b5b6312d] | committer: Lynne
avutil/vulkan_glslang: fix compiling failure issue
Signed-off-by: Wu Jianhua <jianhua.wu at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff82bd5a008e277e2120231d61a9d147b5b6312d
---
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);
More information about the ffmpeg-cvslog
mailing list