ref: deccd1eadb44b8304f64637e61d4d5ba39237522
parent: 8d5ec6759d49ed8e87e0e5f603e95732f23435b9
author: Sijia Chen <sijchen@cisco.com>
date: Mon Jan 26 11:36:42 EST 2015
fix profileidc
--- a/codec/encoder/core/inc/param_svc.h
+++ b/codec/encoder/core/inc/param_svc.h
@@ -475,7 +475,8 @@
return ENC_RETURN_INVALIDINPUT;
}
- uiProfileIdc = iEntropyCodingModeFlag ? PRO_SCALABLE_HIGH : ((!bSimulcastAVC) ? PRO_SCALABLE_BASELINE : PRO_BASELINE);
+ uiProfileIdc = bSimulcastAVC ? (iEntropyCodingModeFlag ? PRO_HIGH : PRO_BASELINE) :
+ (iEntropyCodingModeFlag ? PRO_SCALABLE_HIGH : PRO_SCALABLE_BASELINE);
++ pDlp;
++ pSpatialLayer;
++ i;