]> granicus.if.org Git - libvpx/commitdiff
treecoder lint issues resolved
authorJim Bankoski <jimbankoski@google.com>
Mon, 30 Sep 2013 02:37:11 +0000 (19:37 -0700)
committerJim Bankoski <jimbankoski@google.com>
Mon, 30 Sep 2013 02:37:11 +0000 (19:37 -0700)
Change-Id: I442609f689aa9381e1e208012305cf62a6b31eee

vp9/common/vp9_treecoder.c

index 2e21a5b3016f14cac93d125679a3571d5c393ef1..da1213d71530475c739f057ea83205ea2e78f70e 100644 (file)
@@ -25,8 +25,9 @@ static void tree2tok(struct vp9_token *const p, vp9_tree t,
     if (j <= 0) {
       p[-j].value = v;
       p[-j].len = l;
-    } else
+    } else {
       tree2tok(p, t, j, v, l);
+    }
   } while (++v & 1);
 }
 
@@ -65,11 +66,9 @@ static unsigned int convert_distribution(unsigned int i,
   return left + right;
 }
 
-void vp9_tree_probs_from_distribution(
-  vp9_tree tree,
-  vp9_prob probs          [ /* n-1 */ ],
-  unsigned int branch_ct       [ /* n-1 */ ] [2],
-  const unsigned int num_events[ /* n */ ],
-  unsigned int tok0_offset) {
+void vp9_tree_probs_from_distribution(vp9_tree tree, vp9_prob probs[/* n-1 */],
+                                      unsigned int branch_ct[/* n-1 */][2],
+                                      const unsigned int num_events[/* n */],
+                                      unsigned int tok0_offset) {
   convert_distribution(0, tree, probs, branch_ct, num_events, tok0_offset);
 }