Merge pull request #449 from mstorsjo/avoid-opaque-pointer
Make ParamValidationExt use the actual type instead of a void pointer
This commit is contained in:
commit
f62492716f
@ -64,7 +64,7 @@ int32_t InitPic (const void* kpSrc, const int32_t kiCsp, const int32_t kiWidth,
|
||||
* \pParam pParam SWelsSvcCodingParam*
|
||||
* \return successful - 0; otherwise none 0 for failed
|
||||
*/
|
||||
int32_t ParamValidationExt (void* pParam);
|
||||
int32_t ParamValidationExt (SWelsSvcCodingParam* pParam);
|
||||
|
||||
// GOM based RC related for uiSliceNum decision
|
||||
void GomValidCheck (const int32_t kiMbWidth, const int32_t kiMbHeight, int32_t* pSliceNum);
|
||||
|
@ -131,8 +131,7 @@ int32_t ParamValidation (SWelsSvcCodingParam* pCfg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t ParamValidationExt (void* pParam) {
|
||||
SWelsSvcCodingParam* pCodingParam = (SWelsSvcCodingParam*)pParam;
|
||||
int32_t ParamValidationExt (SWelsSvcCodingParam* pCodingParam) {
|
||||
int8_t i = 0;
|
||||
int32_t iIdx = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user