ref: d14c7265f190ff11869310c85bf177c4b622742f
parent: 49dcc71493246e87d9e4ad49fff4cb4ee1c39eb0
author: Deb Mukherjee <[email protected]>
date: Tue Mar 26 03:29:24 EDT 2013
Bugfix in model coef prob experiment Fixes an issue with model based update that got into the original patch that was merged. Change-Id: Ie42d3d0aff2e48cd187d96664dbd3e9d6d3ac22f
--- a/vp9/decoder/vp9_decodframe.c
+++ b/vp9/decoder/vp9_decodframe.c
@@ -1218,7 +1218,7 @@
if (vp9_read(bc, vp9_coef_update_prob[m])) {
*p = read_prob_diff_update(bc, *p);
#if CONFIG_MODELCOEFPROB && MODEL_BASED_UPDATE
- if (m == 1)
+ if (m == UNCONSTRAINED_NODES - 1)
vp9_get_model_distribution(*p, coef_probs[i][j][k][l], i, j);
#endif
}