Merge "Initialization bug for multi arf."
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index 9b6e9a2..0ea129b 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1446,6 +1446,7 @@
#endif
cpi->refresh_alt_ref_frame = 0;
+ cpi->multi_arf_last_grp_enabled = 0;
cpi->b_calculate_psnr = CONFIG_INTERNAL_STATS;
#if CONFIG_INTERNAL_STATS
@@ -3431,7 +3432,6 @@
cpi->multi_arf_allowed = 1;
else
cpi->multi_arf_allowed = 0;
- cpi->multi_arf_last_grp_enabled = 0;
// Normal defaults
cm->reset_frame_context = 0;