shithub: libvpx

Download patch

ref: 45664383f16714131931833eedece631805c8496
parent: 7a48bfab4703a4b10aed6cbf42d00ef8cda7ba70
parent: 3c4ea94210c9f2fff45b680f362d8cfd2c64ec3e
author: James Zern <jzern@google.com>
date: Mon Feb 13 16:01:18 EST 2017

Merge "cosmetics,vp9_ratectrl: apply clang-format"

--- 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;
 }