Fix compilation errors

This commit is contained in:
Gaurav Singh 2020-02-26 10:02:44 -05:00
parent a7908e924a
commit d6e79390a5

View File

@ -593,7 +593,7 @@ bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height,
namespace {
bool CompressInternal(const uint8* srcdata, int width, int height,
const CompressFlags& flags, tstring* output) {
if (output == nullptr)
if (output == nullptr) {
LOG(ERROR) << "Output buffer is null: ";
return false;
}