Unify the checking on compound mode prediction
Change-Id: Id9c025febf21aeb67cbc719f585661b715bdb9ce
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index b449fab..a615443 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -2201,8 +2201,7 @@
#if CONFIG_EXT_INTER
if (
#if CONFIG_COMPOUND_SINGLEREF
- (is_inter_compound_mode(mbmi->mode) ||
- is_inter_singleref_comp_mode(mbmi->mode)) &&
+ is_inter_anyref_comp_mode(mbmi->mode) &&
#else // !CONFIG_COMPOUND_SINGLEREF
cpi->common.reference_mode != SINGLE_REFERENCE &&
is_inter_compound_mode(mbmi->mode) &&