From 6f81942f0ed4d99fa7668dbb64f22cafcb62b189 Mon Sep 17 00:00:00 2001
From: Yaowu Xu <yaowu@google.com>
Date: Wed, 29 Jan 2014 18:15:37 -0800
Subject: [PATCH] Fix a build issue for --enable-intern-stats

Change-Id: Iea7c9fa0726dbf9792eea79e6a05eb8a3c718d45
---
 vp9/encoder/vp9_encodeframe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 35aa45fe7f..b97fd0293d 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1075,7 +1075,7 @@ static void update_state_rt(VP9_COMP *cpi, PICK_MODE_CONTEXT *ctx,
       THR_D63_PRED /*D63_PRED*/,
       THR_TM /*TM_PRED*/,
     };
-    cpi->mode_chosen_counts[kf_mode_index[mi->mbmi.mode]]++;
+    ++cpi->mode_chosen_counts[kf_mode_index[mbmi->mode]];
 #endif
   } else {
     // Note how often each mode chosen as best
-- 
GitLab