1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

hwcontext_vulkan: avoid using 64-bit enums

MSVC (2016, but possibly more) still force enums to be basic ints.
This commit is contained in:
Lynne
2022-01-27 10:27:09 +01:00
parent 238e11b71f
commit 3c831847a8

View File

@@ -38,7 +38,7 @@ typedef enum FFVulkanExtensions {
FF_VK_EXT_EXTERNAL_WIN32_SEM = 1ULL << 7, /* VK_KHR_external_semaphore_win32 */
#endif
FF_VK_EXT_NO_FLAG = 1ULL << 63,
FF_VK_EXT_NO_FLAG = 1ULL << 31,
} FFVulkanExtensions;
/* Macro containing every function that we utilize in our codebase */