Simon McVittie
81ac656b7c
SDL_CalculateRGBSize, SDL_CalculateYUVSize: set the error indicator
...
These functions historically didn't set the error indicator on overflow.
Before commit 447b508a "error: SDL's allocators now call SDL_OutOfMemory
on error", their callers would call SDL_OutOfMemory() instead, which was
assumed to be close enough in meaning: "that's a silly amount of memory
that would overflow size_t" is similar to "that's more memory than
is available". Now that responsibility for calling SDL_OutOfMemory()
has been pushed down into SDL_calloc() and friends, the functions that
check for overflows might as well set more specific errors.
Signed-off-by: Simon McVittie <smcv@collabora.com >
2024-01-18 13:21:50 -08:00
..
2024-01-18 10:55:24 -08:00
2023-07-03 12:46:47 -07:00
2024-01-18 10:55:24 -08:00
2024-01-01 13:15:26 -08:00
2024-01-18 10:55:24 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2023-07-17 00:10:50 +03:00
2024-01-07 16:59:41 -08:00
2024-01-18 10:55:24 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2023-12-07 10:26:19 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-18 10:55:24 -08:00
2024-01-18 10:55:24 -08:00
2024-01-07 16:59:41 -08:00
2024-01-18 10:55:24 -08:00
2024-01-18 10:55:24 -08:00
2024-01-18 10:55:24 -08:00
2024-01-18 15:15:43 -05:00
2024-01-18 10:59:13 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-18 04:41:34 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-18 13:21:50 -08:00
2024-01-18 08:18:37 -08:00
2024-01-18 08:18:37 -08:00
2024-01-01 13:15:26 -08:00
2023-11-27 16:01:10 -05:00
2024-01-01 13:15:26 -08:00
2024-01-11 10:22:36 -05:00
2024-01-18 08:18:37 -08:00
2024-01-18 03:26:11 -08:00
2024-01-18 08:18:37 -08:00
2024-01-17 09:24:04 -08:00
2024-01-01 13:15:26 -08:00
2024-01-01 13:15:26 -08:00
2024-01-18 13:21:50 -08:00
2024-01-01 13:15:26 -08:00