shithub: openh264

Download patch

ref: da0c1fa75bd21fc4d2f24bf18d9eccb0ae5410d0
parent: e366f5779b932c7412bca3357d47545b23682723
parent: ba6bf7da18a3ad6326bdc38759cd1dc701ef4aea
author: Ethan Hugg <ethanhugg@gmail.com>
date: Sat Feb 8 03:41:20 EST 2014

Merge pull request #268 from mstorsjo/consistent-inline

Consistently use inline instead of __inline

--- 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);