Showing the changes to codec/decoder (2 of 6 files). Show all
Unified · Split
| @@ -59,7 +59,7 @@ class CWelsDecoder : public ISVCDecoder { · 58 unmodified lines | |||
| 59 | CWelsDecoder (void); | 59 | CWelsDecoder (void); |
| 60 | virtual ~CWelsDecoder(); | 60 | virtual ~CWelsDecoder(); |
| 61 | 61 | ||
| 62 | virtual long EXTAPI Initialize (void* pParam, const INIT_TYPE keInitType); | 62 | virtual long EXTAPI Initialize (void* pParam); |
| 63 | virtual long EXTAPI Uninitialize(); | 63 | virtual long EXTAPI Uninitialize(); |
| 64 | 64 | ||
| 65 | /*************************************************************************** | 65 | /*************************************************************************** |
| @@ -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) { | 189 | long CWelsDecoder::Initialize (void* pParam) { |
| 190 | if (pParam == NULL || keInitType != INIT_TYPE_PARAMETER_BASED) { | 190 | if (pParam == NULL) { |
| 191 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::Initialize(), invalid input argument."); | 191 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::Initialize(), invalid input argument."); |
| 192 | return cmInitParaError; | 192 | return cmInitParaError; |
| 193 | } | 193 | } |