[FFmpeg-devel] [PATCH] fftools/ffplay_renderer: use correct NULL value for Vulkan type
Lynne
dev at lynne.ee
Tue Jun 25 01:17:08 EEST 2024
On 24/06/2024 20:48, Timo Rothenpieler wrote:
> ---
> 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);
Sure, LGTM
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2FEA5F03F034464.asc
Type: application/pgp-keys
Size: 624 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240625/faa7a467/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240625/faa7a467/attachment.sig>
More information about the ffmpeg-devel
mailing list