aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2025-08-09 17:45:46 +0100
committerLynne <dev@lynne.ee>2025-08-09 22:46:08 +0000
commit4a42e5a1e2991036e5ae5b3906c31c5f530dd764 (patch)
treed03a967734b1dfd272a6607f8ee1e0d0702197a5
parent777408d149b120a730045a71fbed2b8e0ef7807c (diff)
downloadffmpeg-4a42e5a1e2991036e5ae5b3906c31c5f530dd764.tar.gz
hwcontext_vulkan: Fix build with older Vulkan headers
-rw-r--r--libavutil/hwcontext_vulkan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index c8e1b7e576..38c22c4a3f 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -2906,7 +2906,7 @@ static int vulkan_frames_init(AVHWFramesContext *hwfc)
if (p->dev_is_nvidia &&
(((fmt->nb_images == 1) && (fmt->vk_planes > 1)) ||
(av_pix_fmt_desc_get(hwfc->sw_format)->nb_components == 1)))
- supported_usage &= ~VK_IMAGE_USAGE_HOST_TRANSFER_BIT;
+ supported_usage &= ~VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT;
/* Image usage flags */
if (!hwctx->usage) {