Files
ffmpeg/tests/checkasm
Martin Storsjö 5a893c1806 checkasm: sw_ops: Avoid division by zero
If we're invoked with range == UINT_MAX, we end up doing
"rnd() % (UINT_MAX + 1)", which is equal to "rnd() % 0". On
arm (on all platforms) and on MSVC i386, this ends up crashing
at runtime.

This fixes the crash.
2025-09-02 14:28:56 +03:00
..
2025-08-03 13:48:47 +02:00
2025-04-06 11:02:10 -03:00
2023-11-27 17:55:24 +02:00
2025-04-27 15:52:30 +01:00
2024-05-11 10:28:59 +02:00
2024-03-15 12:51:15 +01:00
2017-07-13 17:00:19 -03:00
2024-06-04 11:46:27 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2025-08-03 13:48:47 +02:00
2022-11-06 14:39:36 +01:00
2025-08-03 13:48:47 +02:00
2024-03-15 12:51:15 +01:00
2024-08-31 14:08:54 +08:00