Merge "test pointer to NULL explicitly"

This commit is contained in:
Pascal Massimino 2016-05-25 06:46:11 +00:00 committed by Gerrit Code Review
commit f8b7ce9ef1

View File

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