test pointer to NULL explicitly

Change-Id: I3de6f6b717a21c93f9d3144c66b7328b0b322853
This commit is contained in:
Pascal Massimino 2016-05-24 23:21:54 -07:00
parent 2ec2de1450
commit 5df6f214e3

View File

@ -827,7 +827,7 @@ int WebPIoInitFromOptions(const WebPDecoderOptions* const options,
}
// Filter
io->bypass_filtering = options && options->bypass_filtering;
io->bypass_filtering = (options != NULL) && options->bypass_filtering;
// Fancy upsampler
#ifdef FANCY_UPSAMPLING