mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
cosmetics: use '== 0' in size checks
Change-Id: I8ac18e2e570e4c6a8569a3955afa11fc943bee28
This commit is contained in:
parent
1c1c5646a5
commit
d6b88b7694
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user