From b1d49f24b475b94ac48c30e1c016b1e124e10401 Mon Sep 17 00:00:00 2001 From: Debargha Mukherjee Date: Thu, 21 Jan 2016 17:41:36 -0800 Subject: [PATCH] Build fix for vp9 Change-Id: I1b93ea826487f9033de70fc4563ade410fe07d74 --- 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 f05dcd357..b1d8dc33d 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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[xdmi->mode]]; } else { // Note how often each mode chosen as best ++cpi->mode_chosen_counts[ctx->best_mode_index]; -- 2.40.0