Fix compilation orders for ext-intra and ec-adapt
Change-Id: I378b677cf579441ba0a9014a8a77a1cf3f8b5689
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index d2cd5a9..9dce985 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -4567,15 +4567,14 @@
ct, probwt);
}
#endif
+#endif // !CONFIG_EC_ADAPT
-#if CONFIG_EXT_INTRA
-#if CONFIG_INTRA_INTERP
+#if CONFIG_EXT_INTRA && CONFIG_INTRA_INTERP
for (i = 0; i < INTRA_FILTERS + 1; ++i)
prob_diff_update(av1_intra_filter_tree, fc->intra_filter_probs[i],
counts->intra_filter[i], INTRA_FILTERS, probwt, header_bc);
-#endif // CONFIG_INTRA_INTERP
-#endif // CONFIG_EXT_INTRA
-#endif // CONFIG_EC_ADAPT, CONFIG_DAALA_EC
+#endif // CONFIG_EXT_INTRA && CONFIG_INTRA_INTERP
+
if (frame_is_intra_only(cm)) {
av1_copy(cm->kf_y_prob, av1_kf_y_mode_prob);
#if CONFIG_EC_MULTISYMBOL