Avoid warnings about converting from int to bool
MSVC used to warn about this.
This commit is contained in:
parent
3b5448cbbc
commit
a291470072
@ -948,7 +948,7 @@ static inline int32_t InitDqLayers (sWelsEncCtx** ppCtx) {
|
||||
}
|
||||
|
||||
// initialize pPps
|
||||
WelsInitPps (pPps, pSps, pSubsetSps, iPpsId, true, bUseSubsetSps,pParam->iEntropyCodingModeFlag);
|
||||
WelsInitPps (pPps, pSps, pSubsetSps, iPpsId, true, bUseSubsetSps,pParam->iEntropyCodingModeFlag != 0);
|
||||
|
||||
// Not using FMO in SVC coding so far, come back if need FMO
|
||||
{
|
||||
|
@ -748,7 +748,7 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const
|
||||
if (ENC_RETURN_SUCCESS != iEncReturn)
|
||||
return iEncReturn;
|
||||
|
||||
WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag);
|
||||
WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag != 0);
|
||||
|
||||
return ENC_RETURN_SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user