pvq: Remove non-dyadic CDF initialization.
This was still being used for CDFs whose size might not match the
declared array size. We replace it with an intialization macro
intended explicitly for this purpose.
Change-Id: I65d9a3c871e1d1bdd906f20ff3a264f58d8e5620
diff --git a/av1/common/pvq_state.c b/av1/common/pvq_state.c
index 2f4aba2..197b9b3 100644
--- a/av1/common/pvq_state.c
+++ b/av1/common/pvq_state.c
@@ -18,7 +18,7 @@
OD_CDFS_INIT_Q15(adapt->skip_cdf);
for (pli = 0; pli < OD_NPLANES_MAX; pli++) {
int i;
- OD_CDFS_INIT(adapt->model_dc[pli].cdf, 0);
+ OD_CDFS_INIT_DYNAMIC(adapt->model_dc[pli].cdf);
for (i = 0; i < OD_TXSIZES; i++) {
int j;
adapt->ex_g[pli][i] = 8;