ref: 3c4ea94210c9f2fff45b680f362d8cfd2c64ec3e
parent: 91f87e75135cc9722ee72daf5154424f628a906e
author: James Zern <jzern@google.com>
date: Mon Feb 13 06:29:39 EST 2017
cosmetics,vp9_ratectrl: apply clang-format broken since: c3f095c8b Merge "Fix to avoid abrupt relaxation of max qindex in recode path" 5f21aba4b Fix to avoid abrupt relaxation of max qindex in recode path the original change pre-dated the addition of .clang-format Change-Id: If5e399d9a805bcad9147360b13b36fbc8c560a7c
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -170,11 +170,9 @@
int i;
for (i = 0; i < QINDEX_RANGE; ++i)
- if (vp9_convert_qindex_to_q(i, bit_depth) >= q_val)
- break;
+ if (vp9_convert_qindex_to_q(i, bit_depth) >= q_val) break;
- if (i == QINDEX_RANGE)
- i--;
+ if (i == QINDEX_RANGE) i--;
return i;
}