shithub: openh264

Download patch

ref: e0aed6e4e7f7de37ac5471d877473a3dcf3014e0
parent: c00bec2aa62720dd479bc588ba3ecba1f6f383f9
author: sijchen <[email protected]>
date: Thu Mar 20 10:19:55 EDT 2014

add static

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -2445,7 +2445,7 @@
   }
 }
 
-inline void SetFastCodingFunc(SWelsFuncPtrList* pFuncList)
+static inline void SetFastCodingFunc(SWelsFuncPtrList* pFuncList)
 {
   pFuncList->pfIntraFineMd = WelsMdIntraFinePartitionVaa;
   pFuncList->sSampleDealingFuncs.pfMdCost = pFuncList->sSampleDealingFuncs.pfSampleSad;
@@ -2452,7 +2452,7 @@
   pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3 = pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3Sad;
   pFuncList->sSampleDealingFuncs.pfIntra8x8Combined3 = pFuncList->sSampleDealingFuncs.pfIntra8x8Combined3Sad;
 }
-inline void SetNormalCodingFunc(SWelsFuncPtrList* pFuncList)
+static inline void SetNormalCodingFunc(SWelsFuncPtrList* pFuncList)
 {
   pFuncList->pfIntraFineMd = WelsMdIntraFinePartition;
   pFuncList->sSampleDealingFuncs.pfMdCost = pFuncList->sSampleDealingFuncs.pfSampleSatd;