Fix build with --enable-internal-stats

Change-Id: I9649647cc5755c8411ddd56f92e7f96d421c2663
This commit is contained in:
hui su 2016-01-20 18:02:30 -08:00
parent 4ec5d7dd18
commit 19de4d9408

View File

@ -1104,7 +1104,7 @@ static void update_state(VP9_COMP *cpi, ThreadData *td,
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];