From bd4501fe2815f790000bb3f5377fc251b191d6a8 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 21 Jan 2016 14:07:33 -0800 Subject: [PATCH] vp9_aq_cyclicrefresh: fix double->float warning Change-Id: I39d3a150de9a77967a4e25ca89d2eda51fd18d47 --- vp9/encoder/vp9_aq_cyclicrefresh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.c b/vp9/encoder/vp9_aq_cyclicrefresh.c index 57a81c0a7..de0951966 100644 --- a/vp9/encoder/vp9_aq_cyclicrefresh.c +++ b/vp9/encoder/vp9_aq_cyclicrefresh.c @@ -69,7 +69,7 @@ static int apply_cyclic_refresh_bitrate(const VP9_COMMON *cm, // with number of seg blocks, so compare available bits to number of blocks. // Average bits available per frame = avg_frame_bandwidth // Number of (8x8) blocks in frame = mi_rows * mi_cols; - const float factor = 0.15; + const float factor = 0.15f; const int number_blocks = cm->mi_rows * cm->mi_cols; // The condition below corresponds to turning off at target bitrates: // (at 30fps), ~8kbps for CIF, 20kbps for VGA, 60kps for HD/720p. -- 2.40.0