mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-05 00:16:50 +02:00
test pointer to NULL explicitly
Change-Id: I3de6f6b717a21c93f9d3144c66b7328b0b322853
This commit is contained in:
parent
2ec2de1450
commit
5df6f214e3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user