cosmetics: use '== 0' in size checks

Change-Id: I8ac18e2e570e4c6a8569a3955afa11fc943bee28
This commit is contained in:
James Zern 2012-12-10 23:27:34 -08:00
parent 1c1c5646a5
commit d6b88b7694

View File

@ -845,7 +845,7 @@ int VP8StatLoop(VP8Encoder* const enc) {
#if DEBUG_SEARCH #if DEBUG_SEARCH
printf("#%d size=%d PSNR=%.2f q=%.2f\n", pass, size, PSNR, q); printf("#%d size=%d PSNR=%.2f q=%.2f\n", pass, size, PSNR, q);
#endif #endif
if (!size) return 0; if (size == 0) return 0;
if (enc->config_->target_PSNR > 0) { if (enc->config_->target_PSNR > 0) {
criterion = (PSNR < enc->config_->target_PSNR); criterion = (PSNR < enc->config_->target_PSNR);
} else { } else {