Merge pull request #1071 from ganyangbbl/typo_bug
fix a typo issue in ParamValidation
This commit is contained in:
commit
2c250179dc
@ -94,7 +94,7 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) {
|
||||
}
|
||||
if (pCfg->iSpatialLayerNum > 1) {
|
||||
int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;
|
||||
int32_t iFinalHeight = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;
|
||||
int32_t iFinalHeight = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoHeight;
|
||||
for (i = 0; i < (pCfg->iSpatialLayerNum - 1); i++) {
|
||||
SSpatialLayerConfig* fDlp = &pCfg->sSpatialLayers[i];
|
||||
if ((fDlp->iVideoWidth > iFinalWidth) || (fDlp->iVideoHeight > iFinalHeight)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user