From 43ae6c1e2298d6ccc51511587ce9bc32a83b168a Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Tue, 28 Jun 2016 12:28:45 -0700 Subject: [PATCH] Remove effectless initialization Change-Id: Iec117841a7ecf6f99d2b718057d8646e221c5c64 --- vp8/encoder/ratectrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index 7da3d71ad..96d00cbf7 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -1593,7 +1593,7 @@ int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q) { 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.