From 05794c3548400ab5d9f958e9faaeecedaae380d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Wed, 11 Jan 2017 15:47:53 +0900 Subject: [PATCH] Add missing static to function lambda_to_qp --- src/rate_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rate_control.c b/src/rate_control.c index aa770528..e9c6096e 100644 --- a/src/rate_control.c +++ b/src/rate_control.c @@ -167,7 +167,7 @@ static double pic_allocate_bits(encoder_state_t * const state) return MAX(100, pic_target_bits); } -int8_t lambda_to_qp(const double lambda) +static int8_t lambda_to_qp(const double lambda) { const int8_t qp = 4.2005 * log(lambda) + 13.7223 + 0.5; return CLIP(0, 51, qp);