From 3c790ec0f83c527b479e968c7a093ed2bbd783c1 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Sun, 9 Feb 2014 20:19:37 -0800 Subject: [PATCH] Convert small static header functions to inline Change-Id: I467b28346a0d8d4d8b96d6c05fc39c34eec26e5c --- vp9/common/vp9_systemdependent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_systemdependent.h b/vp9/common/vp9_systemdependent.h index fb8626ce5..7455abce3 100644 --- a/vp9/common/vp9_systemdependent.h +++ b/vp9/common/vp9_systemdependent.h @@ -34,7 +34,7 @@ void vpx_reset_mmx_state(void); #if defined(_MSC_VER) && _MSC_VER < 1800 // round is not defined in MSVC before VS2013. -static int round(double x) { +static INLINE int round(double x) { if (x < 0) return (int)ceil(x - 0.5); else -- 2.40.0