From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id AF3824AE5E for ; Mon, 24 Jun 2024 18:49:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C46A668D3BB; Mon, 24 Jun 2024 21:49:10 +0300 (EEST) Received: from btbn.de (btbn.de [144.76.60.213]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 641BE68BFF8 for ; Mon, 24 Jun 2024 21:49:04 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id 8056227FFD58F; Mon, 24 Jun 2024 20:49:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1719254943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zMnMx82CWPbJQCeq2Ha2cAL5bNFt46majxUyNrKipoc=; b=nHt8lor55PggfStSbrP8kxEmXfGLCvS6rwHYEHjKzUmpSp1VtFTq6EVvR6vQox566v5Lfn kwzXYg6h9DytTwK0QrmYU2vFCfb5Gxd0GBsY2giL6yaEjWf9Ras8a5xVpsgbpVO96K88H3 /fd8DqE9YxMprj3SljvyaGqio39GBhn4BMuPbmzMUs7DC8uYNMqBVXyMsyPN7FTpJ5gLJy 4YX7ax3r/WZlK93zez7LGXe/oz42AjuicD+FLRflWA6esOJpQq7QeOxEfC5I5sRUDiX9AA rRiXIsPdqgOEAdR1PJrNWcuvyYBHIOXEVwhfc9kDccp+yint0/TSXB76I2m/kg== From: Timo Rothenpieler To: ffmpeg-devel@ffmpeg.org Date: Mon, 24 Jun 2024 20:48:45 +0200 Message-ID: <20240624184855.1456-1-timo@rothenpieler.org> X-Mailer: git-send-email 2.44.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] fftools/ffplay_renderer: use correct NULL value for Vulkan type X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Timo Rothenpieler Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- 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); -- 2.44.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".