Zhao Zhili
9ebfd68096
swscale/swscale: force SwsDither and SwsAlphaBlend to 32 bits
...
The 'sws_dither' and 'alphablend' options access 'SwsDither' and
'SwsAlphaBlend' enum fields as integers. This is unsafe when the
code is compiled with -fshort-enums, as the enum size might be
smaller than an int.
Since the 'dither' and 'alpha_blend' struct members are part of the
public API, their types cannot be easily changed.
To ensure safe integer access and maintain ABI compatibility across
different compiler settings, a MAX_ENUM value is added to force the
enums to a 32-bit underlying type.
2026-02-04 04:00:53 +00:00
..
2025-12-05 10:28:18 +00:00
2025-08-03 13:48:47 +02:00
2025-11-28 03:40:47 +00:00
2025-09-26 22:38:13 +02:00
2024-12-05 21:10:29 +01:00
2025-12-26 13:14:28 +00:00
2026-01-26 13:10:15 +01:00
2025-07-31 11:32:20 +00:00
2024-10-07 19:51:34 +02:00
2025-08-03 13:48:47 +02:00
2025-03-14 19:50:44 +01:00
2025-04-03 06:04:57 +02:00
2025-04-03 06:04:57 +02:00
2025-12-24 16:37:22 +00:00
2025-12-15 14:31:58 +00:00
2024-10-24 22:50:00 +02:00
2025-12-15 14:31:58 +00:00
2025-09-01 19:27:53 +02:00
2022-08-19 22:09:36 +02:00
2024-10-24 22:50:00 +02:00
2024-12-05 21:10:29 +01:00
2025-11-06 21:46:41 +01:00
2016-05-29 16:43:11 +02:00
2025-07-22 19:56:34 +02:00
2025-03-14 19:50:44 +01:00
2025-12-08 16:58:53 +00:00
2025-09-13 18:14:02 +02:00
2025-09-13 19:12:44 +02:00
2026-01-18 03:33:04 +00:00
2025-12-20 13:52:45 +00:00
2025-12-22 20:14:31 +00:00
2025-09-01 19:28:36 +02:00
2025-12-24 16:37:22 +00:00
2025-09-01 19:28:36 +02:00
2025-12-15 14:31:58 +00:00
2025-11-21 18:40:58 +00:00
2025-12-24 16:37:22 +00:00
2025-12-24 16:37:22 +00:00
2025-09-01 19:28:35 +02:00
2025-12-23 09:14:44 +00:00
2024-11-02 15:01:31 -03:00
2024-11-06 17:34:32 -03:00
2024-11-06 17:34:32 -03:00
2024-12-16 12:21:55 +01:00
2025-12-05 10:28:18 +00:00
2025-12-05 10:28:18 +00:00
2025-12-16 01:24:40 +00:00
2026-02-04 04:00:53 +00:00
2026-01-26 09:45:16 +00:00
2025-03-28 14:44:34 -03:00
2024-03-31 00:08:42 +01:00
2025-09-01 19:28:35 +02:00
2024-11-21 12:49:56 +01:00
2025-09-26 16:15:46 +00:00