fix a typo issue in ParamValidation
This commit is contained in:
parent
782e94b05c
commit
01559a684e
@ -94,7 +94,7 @@ int32_t ParamValidation (SLogContext* pLogCtx, SWelsSvcCodingParam* pCfg) {
|
|||||||
}
|
}
|
||||||
if (pCfg->iSpatialLayerNum > 1) {
|
if (pCfg->iSpatialLayerNum > 1) {
|
||||||
int32_t iFinalWidth = pCfg->sSpatialLayers[pCfg->iSpatialLayerNum - 1].iVideoWidth;
|
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++) {
|
for (i = 0; i < (pCfg->iSpatialLayerNum - 1); i++) {
|
||||||
SSpatialLayerConfig* fDlp = &pCfg->sSpatialLayers[i];
|
SSpatialLayerConfig* fDlp = &pCfg->sSpatialLayers[i];
|
||||||
if ((fDlp->iVideoWidth > iFinalWidth) || (fDlp->iVideoHeight > iFinalHeight)) {
|
if ((fDlp->iVideoWidth > iFinalWidth) || (fDlp->iVideoHeight > iFinalHeight)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user