Forgot sizeof in realloc.

This commit is contained in:
Themaister 2013-11-10 18:08:04 +01:00
parent 67f7b34447
commit 270fb50db8

View File

@ -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;