EC_ADAPT: send updates for the correct nodes.

EOB and ZERO token are not currently adapted.

Change-Id: Ie7d657b71fcb157b09e40874fb06a8b7cd95cc70
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 2829971..2e69a14 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -1916,7 +1916,7 @@
                                    aom_reader *r) {
   int i, j, k, l, m;
 #if CONFIG_EC_ADAPT
-  const int node_limit = ONE_TOKEN;
+  const int node_limit = UNCONSTRAINED_NODES - 1;
 #else
   const int node_limit = UNCONSTRAINED_NODES;
 #endif
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index 0fdf17e..aa55db3 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -2206,7 +2206,7 @@
   av1_coeff_probs_model *old_coef_probs = cpi->common.fc->coef_probs[tx_size];
   const aom_prob upd = DIFF_UPDATE_PROB;
 #if CONFIG_EC_ADAPT
-  const int entropy_nodes_update = ONE_TOKEN;
+  const int entropy_nodes_update = UNCONSTRAINED_NODES - 1;
 #else
   const int entropy_nodes_update = UNCONSTRAINED_NODES;
 #endif