[FFmpeg-cvslog] fftools/ffplay_renderer: use correct NULL value for Vulkan type
Timo Rothenpieler
git at videolan.org
Tue Jun 25 01:19:38 EEST 2024
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Mon Jun 24 20:48:34 2024 +0200| [6d4eba51f29b1755537afe31d992f5559a0b05b9] | committer: Timo Rothenpieler
fftools/ffplay_renderer: use correct NULL value for Vulkan type
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d4eba51f29b1755537afe31d992f5559a0b05b9
---
fftools/ffplay_renderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffplay_renderer.c b/fftools/ffplay_renderer.c
index 80b700b3c5..f272cb46f1 100644
--- a/fftools/ffplay_renderer.c
+++ b/fftools/ffplay_renderer.c
@@ -766,7 +766,7 @@ static void destroy(VkRenderer *renderer)
vkDestroySurfaceKHR = (PFN_vkDestroySurfaceKHR)
ctx->get_proc_addr(ctx->inst, "vkDestroySurfaceKHR");
vkDestroySurfaceKHR(ctx->inst, ctx->vk_surface, NULL);
- ctx->vk_surface = NULL;
+ ctx->vk_surface = VK_NULL_HANDLE;
}
av_buffer_unref(&ctx->hw_device_ref);
More information about the ffmpeg-cvslog
mailing list