mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
hwcontext_vulkan: fix VkImageToMemoryCopyEXT.sType
It was copy pasted from the upload path. Somehow, it was missed, despite god knows how many validation layer runs.
This commit is contained in:
@@ -4458,7 +4458,7 @@ static int vulkan_transfer_host(AVHWFramesContext *hwfc, AVFrame *hwf,
|
||||
}
|
||||
} else {
|
||||
VkImageToMemoryCopyEXT region_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_MEMORY_TO_IMAGE_COPY_EXT,
|
||||
.sType = VK_STRUCTURE_TYPE_IMAGE_TO_MEMORY_COPY_EXT,
|
||||
.imageSubresource = {
|
||||
.layerCount = 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user