shithub: libvpx

Download patch

ref: cce3982c484772a7a0bf2780544bfc60bbb49137
parent: 26abc15e04527e7902f3b43ba3513be5401a4f8a
parent: 4e887f032d904822db83ea10b8459ae4e09525d2
author: Paul Wilkins <paulwilkins@google.com>
date: Mon Oct 26 15:12:34 EDT 2015

Merge "Incorrect frame used in KF boost loop."

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2447,7 +2447,7 @@
     if ((i <= rc->max_gf_interval) ||
         ((i <= (rc->max_gf_interval * 4)) && (decay_accumulator > 0.5))) {
       const double frame_boost =
-        calc_frame_boost(cpi, this_frame, 0, KF_MAX_BOOST);
+        calc_frame_boost(cpi, &next_frame, 0, KF_MAX_BOOST);
 
       // How fast is prediction quality decaying.
       if (!detect_flash(twopass, 0)) {