ref: 2c250179dc9439913085944583421b9af6c6a42b
parent: f245dc34ff6875cad74b0a3400c10bdd90a9d9fc
parent: 01559a684e58bd4628552090fc6ef9f1e0817751
author: ruil2 <[email protected]>
date: Thu Jul 3 07:23:33 EDT 2014
Merge pull request #1071 from ganyangbbl/typo_bug fix a typo issue in ParamValidation
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -94,7 +94,7 @@
}
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)) {