init_video_pixel_converter - return false if calloc failed

This commit is contained in:
twinaphex 2015-04-11 08:23:02 +02:00
parent 341579f7b6
commit e76f8b9a71

View File

@ -55,6 +55,9 @@ bool init_video_pixel_converter(unsigned size)
driver->scaler_out = calloc(sizeof(uint16_t), size * size);
if (!driver->scaler_out)
return false;
return true;
}