From c6960b60867f0ce25404c0bf4b96018e7d41bb08 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Fri, 4 Oct 2013 13:42:58 -0700 Subject: [PATCH] cpplint issues vp9_tokenize.c resolved Change-Id: Id4ec0084641d2ad4def95fb05239455fbc25f9b9 --- vp9/encoder/vp9_tokenize.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/vp9/encoder/vp9_tokenize.c b/vp9/encoder/vp9_tokenize.c index 7c14c18aa..4e095f243 100644 --- a/vp9/encoder/vp9_tokenize.c +++ b/vp9/encoder/vp9_tokenize.c @@ -38,7 +38,6 @@ static int dct_value_cost[DCT_MAX_VALUE * 2]; const int *vp9_dct_value_cost_ptr; static void fill_value_tokens() { - TOKENVALUE *const t = dct_value_tokens + DCT_MAX_VALUE; const vp9_extra_bit *const e = vp9_extra_bits; @@ -60,9 +59,9 @@ static void fill_value_tokens() { t[i].token = --j; eb |= (a - e[j].base_val) << 1; - } else + } else { t[i].token = a; - + } t[i].extra = eb; } @@ -81,9 +80,7 @@ static void fill_value_tokens() { cost += vp9_cost_bit(vp9_prob_half, extra & 1); /* sign */ dct_value_cost[i + DCT_MAX_VALUE] = cost; } - } - } while (++i < DCT_MAX_VALUE); vp9_dct_value_tokens_ptr = dct_value_tokens + DCT_MAX_VALUE; -- 2.40.0