rename Initialize2 to IntializeInternal
This commit is contained in:
parent
dcd388006e
commit
bed051b631
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user