Files
ffmpeg/libavutil
Martin Storsjö fb65ecbc9b avutil: Fix linking x86 asm constants with Clang in MSVC mode
This fixes building with Clang in MSVC mode, for x86, which was
broken in 6e49b86996 (in Nov 2024);
previously it failed with undefined symbols for the constants
defined with DECLARE_ASM_CONST, accessed via inline assembly.

Before 57861911a3, there was an
    #elif defined(__GNUC__) || defined(__clang__)
case before the
    #elif defined(_MSC_VER)
case for defining DECLARE_ASM_CONST, which included av_used.
(This case included the explicit "defined(__clang__)" since
f637046d3134a331e4b5a7243ac3dfb92735b8a5.)

After 57861911a3, it used the
generic definition of DECLARE_ASM_CONST that also included
av_used - which also worked for Clang in MSVC mode. But after
6e49b86996, Clang in MSVC mode
ended up using the MSVC specific variant which lacked the
av_used declaration, causing linker errors due to undefined
symbols.

Signed-off-by: Martin Storsjö <martin@martin.st>
2025-06-13 11:36:20 +03:00
..
2024-12-04 16:43:06 +08:00
2024-07-21 17:02:12 +02:00
2025-05-07 15:35:47 +02:00
2024-03-04 17:45:00 +01:00
2024-12-04 16:43:06 +08:00
2025-04-07 01:02:35 +02:00
2014-07-12 22:33:27 +02:00
2023-11-18 19:55:42 +01:00
2024-03-15 12:51:15 +01:00
2023-09-07 00:42:10 +02:00
2025-02-04 00:14:14 +01:00
2025-02-04 00:14:14 +01:00
2024-05-04 21:31:33 -03:00
2015-10-11 18:03:10 -04:00
2022-10-17 09:56:47 +02:00
2024-06-01 18:05:58 +03:00
2024-06-01 18:05:58 +03:00
2023-09-07 00:42:10 +02:00
2021-07-22 14:34:31 +02:00
2023-09-07 00:42:10 +02:00
2023-09-07 00:42:10 +02:00
2024-10-16 16:46:29 +02:00
2024-03-31 00:08:43 +01:00
2025-03-17 08:49:04 +01:00
2025-03-17 08:49:04 +01:00
2024-01-16 01:34:57 +01:00
2021-07-22 14:34:31 +02:00
2022-10-17 09:51:47 +02:00
2023-09-07 00:42:10 +02:00
2024-03-31 00:08:43 +01:00
2023-09-01 23:59:10 +02:00
2023-08-08 09:46:11 +02:00
2023-08-08 09:46:11 +02:00
2025-06-11 01:20:18 +09:00