From 04c53d23937e68550a8f0c983b6d720ed3f0b712 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 3 Apr 2015 16:18:23 -0700 Subject: [PATCH] find_next_key_frame: remove dead init & store Change-Id: I8c7f5b9718ef14e4397a263aa9f52a9edcf7d1cd --- vp8/encoder/firstpass.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c index 85767ef0d..84b9faec6 100644 --- a/vp8/encoder/firstpass.c +++ b/vp8/encoder/firstpass.c @@ -2969,7 +2969,6 @@ static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) */ decay_accumulator = 1.0; boost_score = 0.0; - loop_decay_rate = 1.00; /* Starting decay rate */ for (i = 0 ; i < cpi->twopass.frames_to_key ; i++) { @@ -3213,7 +3212,7 @@ static void find_next_key_frame(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) int new_width = cpi->oxcf.Width; int new_height = cpi->oxcf.Height; - int projected_buffer_level = (int)cpi->buffer_level; + int projected_buffer_level; int tmp_q; double projected_bits_perframe; -- 2.40.0