From 5df6f214e35215ceb99385aee9a83636d41ae549 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Tue, 24 May 2016 23:21:54 -0700 Subject: [PATCH] test pointer to NULL explicitly Change-Id: I3de6f6b717a21c93f9d3144c66b7328b0b322853 --- src/dec/webp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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