shithub: libvpx

Download patch

ref: 43ae6c1e2298d6ccc51511587ce9bc32a83b168a
parent: b2d690187e0386546ba482a877770e67761f2f80
author: Yaowu Xu <yaowu@google.com>
date: Tue Jun 28 08:28:45 EDT 2016

Remove effectless initialization

Change-Id: Iec117841a7ecf6f99d2b718057d8646e221c5c64

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1593,7 +1593,7 @@
     if (Q < thresh_qp &&
         cpi->projected_frame_size > thresh_rate &&
         pred_err_mb > thresh_pred_err_mb) {
-      double new_correction_factor = cpi->rate_correction_factor;
+      double new_correction_factor;
       const int target_size = cpi->av_per_frame_bandwidth;
       int target_bits_per_mb;
       // Drop this frame: advance frame counters, and set force_maxqp flag.