summaryrefslogtreecommitdiffstats
path: root/third_party/aom/aom_dsp/prob.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/aom_dsp/prob.c')
-rw-r--r--third_party/aom/aom_dsp/prob.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/aom/aom_dsp/prob.c b/third_party/aom/aom_dsp/prob.c
index eefe7521f..a42fb806b 100644
--- a/third_party/aom/aom_dsp/prob.c
+++ b/third_party/aom/aom_dsp/prob.c
@@ -186,10 +186,8 @@ int tree_to_cdf(const aom_tree_index *tree, const aom_prob *probs,
for (i = 1; i < nsymbs; i++) {
cdf[i] = AOM_ICDF(AOM_ICDF(cdf[i - 1]) + cdf[i]);
}
-// Store symbol count at the end of the CDF
-#if CONFIG_EC_ADAPT
+ // Store symbol count at the end of the CDF
cdf[nsymbs] = 0;
-#endif
return nsymbs;
}