Merge "Convert small static header functions to inline"
This commit is contained in:
commit
352db1d134
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user