diff options
author | llyyr <llyyr.public@gmail.com> | 2025-03-29 03:26:44 +0530 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2025-03-29 00:40:48 +0100 |
commit | 8c7b00ba3ac4b55d6e48f9a5a4345bbf19c9cb2e (patch) | |
tree | 489b3fdcfe1062d664a4c1eb420e468435aa59ae /libavutil/hwcontext_vulkan.c | |
parent | b6bcc1c3c26891fa7e301437eacc120cc91860eb (diff) | |
download | ffmpeg-8c7b00ba3ac4b55d6e48f9a5a4345bbf19c9cb2e.tar.gz |
avutil/hwcontext_vulkan: stop checking for deprecated and removed flag
AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY was deprecated in e0f2d2e70228d022195afccc057bd6dc8b688c21
and removed in 09a57602991d47011247f2683f32a53255adcf09
Fixes: e0f2d2e70228d022195afccc057bd6dc8b688c21
Fixes: 09a57602991d47011247f2683f32a53255adcf09
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r-- | libavutil/hwcontext_vulkan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 6b9c438222..83efc5afa6 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -3882,9 +3882,6 @@ static int vulkan_map_to_drm(AVHWFramesContext *hwfc, AVFrame *dst, vk->GetImageSubresourceLayout(hwctx->act_dev, f->img[i], &sub, &layout); drm_desc->layers[i].planes[0].offset = layout.offset; drm_desc->layers[i].planes[0].pitch = layout.rowPitch; - - if (hwfctx->flags & AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY) - drm_desc->layers[i].planes[0].offset += f->offset[i]; } dst->width = src->width; |