Commit 7cd6330e authored by Paul Wilkins's avatar Paul Wilkins
Browse files

Initialization bug for multi arf.

Moved erroneous reset of cpi->multi_arf_last_grp_enabled.

Change-Id: Ibb0b96f6ed1d5eeb575a3b1c798e0fe2ee651d06
parent 0e64aa50
......@@ -1435,6 +1435,7 @@ VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf) {
#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
......@@ -3420,7 +3421,6 @@ int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment