shithub: libvpx

Download patch

ref: 19de4d9408b0ccc8af888c4537e421529648c954
parent: 4ec5d7dd18cd684ea4bad14203cb92657f5af5dd
author: hui su <[email protected]>
date: Wed Jan 20 13:02:30 EST 2016

Fix build with --enable-internal-stats

Change-Id: I9649647cc5755c8411ddd56f92e7f96d421c2663

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1104,7 +1104,7 @@
       THR_D63_PRED  /*D63_PRED*/,
       THR_TM        /*TM_PRED*/,
     };
-    ++cpi->mode_chosen_counts[kf_mode_index[mbmi->mode]];
+    ++cpi->mode_chosen_counts[kf_mode_index[mi->mode]];
   } else {
     // Note how often each mode chosen as best
     ++cpi->mode_chosen_counts[ctx->best_mode_index];