1
0
Fork 0

Fix NULL issues in render_templates_hq.h

This commit is contained in:
krcroft 2020-01-18 15:28:42 -08:00 committed by Patryk Obara
parent 02484abce3
commit a0eafc9d8e

View file

@ -66,6 +66,9 @@ static inline void conc2d(InitLUTs,SBPP)(void)
int Y, u, v;
_RGBtoYUV = (Bit32u *)malloc(65536 * sizeof(Bit32u));
if (_RGBtoYUV == nullptr) {
return;
}
for (int color = 0; color < 65536; ++color) {
#if SBPP == 32