shithub: libvpx

Download patch

ref: 6f81942f0ed4d99fa7668dbb64f22cafcb62b189
parent: 96dc80da6135ee4587384dda829e890ac36adc7f
author: Yaowu Xu <[email protected]>
date: Wed Jan 29 13:15:37 EST 2014

Fix a build issue for --enable-intern-stats

Change-Id: Iea7c9fa0726dbf9792eea79e6a05eb8a3c718d45

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1075,7 +1075,7 @@
       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