diff options
author | Lynne <dev@lynne.ee> | 2024-08-11 04:27:52 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-08-11 05:13:17 +0200 |
commit | ef11a6456d40de57bbda9369ecedf5f242020703 (patch) | |
tree | 40ddca5df9a7b7e77bd286a96673721ed22ca289 /libavutil/file_open.c | |
parent | 12080ff0404059847df8bc30cc5023a9010f60b2 (diff) | |
download | ffmpeg-ef11a6456d40de57bbda9369ecedf5f242020703.tar.gz |
hwcontext_vulkan: do not chain structs of unsupported extensions in vkCreateDevice
Fixes:
vkCreateDevice(): pCreateInfo->pNext<VkPhysicalDeviceOpticalFlowFeaturesNV> includes a
pointer to a VkPhysicalDeviceOpticalFlowFeaturesNV, but when creating VkDevice, the
parent extension (VK_NV_optical_flow) was not included in ppEnabledExtensionNames.
The Vulkan spec states: Each pNext member of any structure (including this one) in
the pNext chain must be either NULL or a pointer to a valid struct for extending
VkDeviceCreateInfo.
Diffstat (limited to 'libavutil/file_open.c')
0 files changed, 0 insertions, 0 deletions