Fix compilation errors
This commit is contained in:
parent
a7908e924a
commit
d6e79390a5
@ -593,7 +593,7 @@ bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height,
|
|||||||
namespace {
|
namespace {
|
||||||
bool CompressInternal(const uint8* srcdata, int width, int height,
|
bool CompressInternal(const uint8* srcdata, int width, int height,
|
||||||
const CompressFlags& flags, tstring* output) {
|
const CompressFlags& flags, tstring* output) {
|
||||||
if (output == nullptr)
|
if (output == nullptr) {
|
||||||
LOG(ERROR) << "Output buffer is null: ";
|
LOG(ERROR) << "Output buffer is null: ";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user