From d6b88b76949e84fa1e5696bfece78065262f43c3 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 10 Dec 2012 23:27:34 -0800 Subject: [PATCH] cosmetics: use '== 0' in size checks Change-Id: I8ac18e2e570e4c6a8569a3955afa11fc943bee28 --- src/enc/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enc/frame.c b/src/enc/frame.c index 615a2fd0..d2bffef4 100644 --- a/src/enc/frame.c +++ b/src/enc/frame.c @@ -845,7 +845,7 @@ int VP8StatLoop(VP8Encoder* const enc) { #if DEBUG_SEARCH printf("#%d size=%d PSNR=%.2f q=%.2f\n", pass, size, PSNR, q); #endif - if (!size) return 0; + if (size == 0) return 0; if (enc->config_->target_PSNR > 0) { criterion = (PSNR < enc->config_->target_PSNR); } else {