mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-09 02:48:54 +00:00
Forgot sizeof in realloc.
This commit is contained in:
parent
67f7b34447
commit
270fb50db8
@ -80,7 +80,7 @@ static void generate_YCbCr_to_RGB_lookup(void)
|
||||
int cb;
|
||||
int cr;
|
||||
|
||||
YCbCr_to_RGB = (uint32_t*)realloc(YCbCr_to_RGB, 256 * 256 * 256);
|
||||
YCbCr_to_RGB = (uint32_t*)realloc(YCbCr_to_RGB, 256 * 256 * 256 * sizeof(uint32_t));
|
||||
if (!YCbCr_to_RGB)
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user