[seg] No need to decide temporal_update
If error resilient mode is true, temporal update of seg_id is not used,
thus don't need to decide seg->temporal_update flag by calling
av1_choose_segmap_coding_method().
Change-Id: Ifb2271be53f1a6bc64f1196af5e7fbe46741fab0
diff --git a/av1/encoder/bitstream.c b/av1/encoder/bitstream.c
index 1f2a33c..05df695 100644
--- a/av1/encoder/bitstream.c
+++ b/av1/encoder/bitstream.c
@@ -2462,7 +2462,7 @@
}
if (seg->update_map) {
// Select the coding strategy (temporal or spatial)
- av1_choose_segmap_coding_method(cm, xd);
+ if (!cm->error_resilient_mode) av1_choose_segmap_coding_method(cm, xd);
// Write out the chosen coding method.
if (!frame_is_intra_only(cm) && !cm->error_resilient_mode) {