bitstream.c,CONFIG_LV_MAP: don't define write_coeff_extra
this function is unused in this configuration
Change-Id: Ibb0b195841d61ee2166196e4c63f5dac5f97a50c
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index 4c080c7..8b9633e 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -657,6 +657,7 @@
}
#endif // CONFIG_SUPERTX
+#if !CONFIG_LV_MAP
#if CONFIG_NEW_MULTISYMBOL
static INLINE void write_coeff_extra(const aom_cdf_prob *const *cdf, int val,
int n, aom_writer *w) {
@@ -683,9 +684,8 @@
aom_write_record(w, bb, pb[index], token_stats);
}
}
-#endif
+#endif // CONFIG_NEW_MULTISYMBOL
-#if !CONFIG_LV_MAP
static void pack_mb_tokens(aom_writer *w, const TOKENEXTRA **tp,
const TOKENEXTRA *const stop,
aom_bit_depth_t bit_depth, const TX_SIZE tx_size,