shithub: libvpx

Download patch

ref: 7cd6330ef37f98c21cf6b7c4550076d3ac3ea3aa
parent: 0e64aa50739f406390e24b297d03b25ccd6f6c33
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Oct 22 14:51:07 EDT 2014

Initialization bug for multi arf.

Moved erroneous reset of cpi->multi_arf_last_grp_enabled.

Change-Id: Ibb0b96f6ed1d5eeb575a3b1c798e0fe2ee651d06

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1435,6 +1435,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
@@ -3420,7 +3421,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;