shithub: libvpx

Download patch

ref: 2ab58d812f14696d67307558bd4108d78787bfc2
parent: 307c84c3526cf5b61279c9b03826b95c80f7e699
author: Yaowu Xu <[email protected]>
date: Fri Jan 22 05:57:16 EST 2016

Fix a minor typo

a wrong variable.

Change-Id: I9fa02621dbdc508a12ba1ef9c8f98dbeab68e958

--- 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[mi->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];