diff options
author | Deb Mukherjee <debargha@google.com> | 2013-03-26 07:29:24 -0700 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2013-03-26 07:30:42 -0700 |
commit | d14c7265f190ff11869310c85bf177c4b622742f (patch) | |
tree | 79f64505a5e4651c934883fe38493fc3f626827f /vp9/decoder/vp9_decodframe.c | |
parent | 49dcc71493246e87d9e4ad49fff4cb4ee1c39eb0 (diff) | |
download | libvpx-d14c7265f190ff11869310c85bf177c4b622742f.tar libvpx-d14c7265f190ff11869310c85bf177c4b622742f.tar.gz libvpx-d14c7265f190ff11869310c85bf177c4b622742f.tar.bz2 libvpx-d14c7265f190ff11869310c85bf177c4b622742f.zip |
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
Diffstat (limited to 'vp9/decoder/vp9_decodframe.c')
-rw-r--r-- | vp9/decoder/vp9_decodframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index bd9175551..16ed9a737 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -1218,7 +1218,7 @@ static void read_coef_probs_common(BOOL_DECODER* const bc, 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 } |