summaryrefslogtreecommitdiffstats
path: root/third_party/aom/av1/common/generic_code.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/av1/common/generic_code.c')
-rw-r--r--third_party/aom/av1/common/generic_code.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/third_party/aom/av1/common/generic_code.c b/third_party/aom/av1/common/generic_code.c
index 2955a695f..7285decc9 100644
--- a/third_party/aom/av1/common/generic_code.c
+++ b/third_party/aom/av1/common/generic_code.c
@@ -22,9 +22,7 @@ void aom_cdf_init_q15_1D(uint16_t *cdf, int nsyms, int cdf_size) {
for (i = 0; i < nsyms; i++)
cdf[i] = AOM_ICDF((i + 1)*CDF_PROB_TOP/nsyms);
-#if CONFIG_EC_ADAPT
cdf[cdf_size - 1] = 0;
-#endif
}
/** Adapts a Q15 cdf after encoding/decoding a symbol. */