From 7cd6330ef37f98c21cf6b7c4550076d3ac3ea3aa Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Wed, 22 Oct 2014 18:51:07 +0100 Subject: [PATCH] Initialization bug for multi arf. Moved erroneous reset of cpi->multi_arf_last_grp_enabled. Change-Id: Ibb0b96f6ed1d5eeb575a3b1c798e0fe2ee651d06 --- vp9/encoder/vp9_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index c5e872607..90ba344b3 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -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; -- 2.40.0