rename Initialize2 to IntializeInternal

This commit is contained in:
volvet 2014-04-07 11:30:12 -07:00
parent dcd388006e
commit bed051b631
2 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ class CWelsH264SVCEncoder : public ISVCEncoder {
virtual int EXTAPI GetOption (ENCODER_OPTION opt_id, void* option);
private:
int Initialize2 (SWelsSvcCodingParam* argv);
int InitializeInternal (SWelsSvcCodingParam* argv);
sWelsEncCtx* m_pEncContext;

View File

@ -219,7 +219,7 @@ int CWelsH264SVCEncoder::Initialize (const SEncParamBase* argv) {
return cmInitParaError;
}
return Initialize2 (&sConfig);
return InitializeInternal(&sConfig);
}
int CWelsH264SVCEncoder::InitializeExt (const SEncParamExt* argv) {
@ -238,10 +238,10 @@ int CWelsH264SVCEncoder::InitializeExt (const SEncParamExt* argv) {
return cmInitParaError;
}
return Initialize2 (&sConfig);
return InitializeInternal(&sConfig);
}
int CWelsH264SVCEncoder::Initialize2 (SWelsSvcCodingParam* pCfg) {
int CWelsH264SVCEncoder::InitializeInternal(SWelsSvcCodingParam* pCfg) {
if (NULL == pCfg) {
WelsLog (m_pEncContext, WELS_LOG_ERROR, "CWelsH264SVCEncoder::Initialize(), invalid argv= 0x%p.\n",
pCfg);