This makes it clear to the callers that the struct will not be modified by this call.
Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 4 files). Show all
Unified · Split
| @@ -200,7 +200,7 @@ void CWelsH264SVCEncoder::InitEncoder (void) { · 199 unmodified lines | ||
| 200 | 200 | /* |
| 201 | 201 | * SVC Encoder Initialization |
| 202 | 202 | */ |
| 203 | −int CWelsH264SVCEncoder::Initialize (SEncParamBase* argv, const INIT_TYPE iInitType) { | |
| 203 | +int CWelsH264SVCEncoder::Initialize (const SEncParamBase* argv, const INIT_TYPE iInitType) { | |
| 204 | 204 | |
| 205 | 205 | |
| 206 | 206 | if ((INIT_TYPE_PARAMETER_BASED != iInitType && INIT_TYPE_PARAMETER_EXT != iInitType)|| NULL == argv) { |