[NORMATIVE] Error resilience overrules refs signaling
For FRAME_REFS_SIGNALING, when error resilience mode is on for inter
frames, no frame refs signaling options will be provided. Hence no
additional bit is added and the reference frame signaling stays the
same as baseline.
BUG=aomedia:1392
Change-Id: I8ff9688c278373acaae3ee4fb74e9a392132f54d
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index 1cf9752..e7f6914 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -2987,7 +2987,9 @@
}
#if CONFIG_FRAME_REFS_SIGNALING
- cm->frame_refs_short_signaling = aom_rb_read_bit(rb);
+ // Frame refs short signaling is off when error resilient mode is on.
+ if (!cm->error_resilient_mode)
+ cm->frame_refs_short_signaling = aom_rb_read_bit(rb);
if (cm->frame_refs_short_signaling) {
// == LAST_FRAME ==