Showing the changes to codec/decoder/plus/src (1 of 6 files). Show all
Unified · Split
| @@ -186,8 +186,8 @@ CWelsDecoder::~CWelsDecoder() { · 185 unmodified lines | ||
| 186 | 186 | } |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | −long CWelsDecoder::Initialize (void* pParam, const INIT_TYPE keInitType) { | |
| 190 | − if (pParam == NULL || keInitType != INIT_TYPE_PARAMETER_BASED) { | |
| 189 | +long CWelsDecoder::Initialize (void* pParam) { | |
| 190 | + if (pParam == NULL) { | |
| 191 | 191 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::Initialize(), invalid input argument."); |
| 192 | 192 | return cmInitParaError; |
| 193 | 193 | } |