Always send frame size explicitly

This commit changes to send frame size explicitly when
error_resilient_mode=1. Purpose is to allow parsing of bitstream
after a packet loss.

Change-Id: I7d1c010a465aa18914762cc1a3e61db377304c08
This commit is contained in:
Arild Fuldseth
2016-09-02 13:00:05 +02:00
committed by Yaowu Xu
parent 870a72d6b5
commit 842e9b030f
3 changed files with 17 additions and 0 deletions

View File

@@ -3371,7 +3371,15 @@ static size_t read_uncompressed_header(AV1Decoder *pbi,
cm->ref_frame_sign_bias[LAST_FRAME + i] = aom_rb_read_bit(rb);
}
#if CONFIG_FRAME_SIZE
if (cm->error_resilient_mode == 0) {
setup_frame_size_with_refs(cm, rb);
} else {
setup_frame_size(cm, rb);
}
#else
setup_frame_size_with_refs(cm, rb);
#endif
cm->allow_high_precision_mv = aom_rb_read_bit(rb);
cm->interp_filter = read_interp_filter(rb);