diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2024-06-24 20:48:34 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2024-06-25 00:19:03 +0200 |
commit | 6d4eba51f29b1755537afe31d992f5559a0b05b9 (patch) | |
tree | e965a28cd042f71c4ffc57125c6e4cbcc432e9bb /fftools | |
parent | dae12ddb2e5d4ec8cf5a965f4ac793edfa3802d6 (diff) | |
download | ffmpeg-6d4eba51f29b1755537afe31d992f5559a0b05b9.tar.gz |
fftools/ffplay_renderer: use correct NULL value for Vulkan type
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffplay_renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |