ffmpeg | branch: master | Lynne <d...@lynne.ee> | Tue Dec 24 13:59:40 2024 +0900| [d9b773c22f93825fb36d003cbec6e8d1d95540b2] | committer: Lynne
hwcontext_vulkan: add VK_EXT_layer_settings to optional instance extensions The issue is that some compilers complain if a struct or array is empty. This extension does nothing by default, and can be useful, so just add it to keep the array non-empty. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d9b773c22f93825fb36d003cbec6e8d1d95540b2 --- libavutil/hwcontext_vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index bc7c258ebb..c5f4de5684 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -582,6 +582,7 @@ typedef struct VulkanOptExtension { } VulkanOptExtension; static const VulkanOptExtension optional_instance_exts[] = { + { VK_EXT_LAYER_SETTINGS_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, #ifdef __APPLE__ { VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME, FF_VK_EXT_NO_FLAG }, #endif _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".