[FFmpeg-cvslog] fftools/ffplay_renderer: use correct NULL value for Vulkan type
Timo Rothenpieler
git at videolan.org
Tue Jun 25 01:20:13 EEST 2024
ffmpeg | branch: release/7.0 | Timo Rothenpieler <timo at rothenpieler.org> | Mon Jun 24 20:48:34 2024 +0200| [173673f3592f1f8bce3c9221007084ccdbcacd6e] | committer: Timo Rothenpieler
fftools/ffplay_renderer: use correct NULL value for Vulkan type
(cherry picked from commit 6d4eba51f29b1755537afe31d992f5559a0b05b9)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=173673f3592f1f8bce3c9221007084ccdbcacd6e
---
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 73072a2851..fbb68b2376 100644
--- a/fftools/ffplay_renderer.c
+++ b/fftools/ffplay_renderer.c
@@ -765,7 +765,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