ref: ba6bf7da18a3ad6326bdc38759cd1dc701ef4aea
parent: e366f5779b932c7412bca3357d47545b23682723
author: Martin Storsjö <[email protected]>
date: Sat Feb 8 09:08:46 EST 2014
Consistently use inline instead of __inline This seemed to have been missed in 109fecc.
--- a/codec/encoder/core/inc/param_svc.h
+++ b/codec/encoder/core/inc/param_svc.h
@@ -63,7 +63,7 @@
* \param upper input upper value
* \return 2 based scaling factor
*/
-static __inline uint32_t GetLogFactor (real32_t base, real32_t upper) {
+static inline uint32_t GetLogFactor (real32_t base, real32_t upper) {
const double dLog2factor = log10 (1.0 * upper / base) / log10 (2.0);
const double dEpsilon = 0.0001;
const double dRound = floor (dLog2factor + 0.5);