summaryrefslogtreecommitdiffstats
path: root/third_party/aom/av1/common/generic_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/aom/av1/common/generic_code.h')
-rw-r--r--third_party/aom/av1/common/generic_code.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/aom/av1/common/generic_code.h b/third_party/aom/av1/common/generic_code.h
index c9d87799d..e1620ee8e 100644
--- a/third_party/aom/av1/common/generic_code.h
+++ b/third_party/aom/av1/common/generic_code.h
@@ -47,7 +47,7 @@ void generic_model_init(generic_encoder *model);
#define OD_CDFS_INIT_Q15(cdfs) \
{ int n_cdfs = sizeof(cdfs)/sizeof(cdfs[0]); \
int cdf_size = sizeof(cdfs[0])/sizeof(cdfs[0][0]); \
- int nsyms = cdf_size - CONFIG_EC_ADAPT; \
+ int nsyms = cdf_size - 1; \
int i_; \
for (i_ = 0; i_ < n_cdfs; i_++) \
aom_cdf_init_q15_1D(cdfs[i_], nsyms, cdf_size); \