diff --git a/src/dec/webp.c b/src/dec/webp.c index 101dadfb..d0b912f0 100644 --- a/src/dec/webp.c +++ b/src/dec/webp.c @@ -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