mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 03:12:08 +01:00
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
Patch-Source: https://github.com/FFmpeg/FFmpeg/commit/cc76e8340d28438c1ac56ee7dfd774d25e944264
|
|
--
|
|
From cc76e8340d28438c1ac56ee7dfd774d25e944264 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <kasper93@gmail.com>
|
|
Date: Thu, 2 Mar 2023 17:27:30 +0100
|
|
Subject: [PATCH] lavu/vulkan: fix handle type for 32-bit targets
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Fixes compilation with clang which errors out on Wint-conversion.
|
|
|
|
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
|
|
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
---
|
|
libavutil/hwcontext_vulkan.c | 2 +-
|
|
libavutil/vulkan.h | 4 ++++
|
|
2 files changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
|
|
index 2e3faaa..7d311ee 100644
|
|
--- a/libavutil/hwcontext_vulkan.c
|
|
+++ b/libavutil/hwcontext_vulkan.c
|
|
@@ -862,7 +862,7 @@ static void free_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)
|
|
|
|
av_freep(&cmd->queues);
|
|
av_freep(&cmd->bufs);
|
|
- cmd->pool = NULL;
|
|
+ cmd->pool = VK_NULL_HANDLE;
|
|
}
|
|
|
|
static VkCommandBuffer get_buf_exec_ctx(AVHWFramesContext *hwfc, VulkanExecCtx *cmd)
|