ref: 3a1f0a3d953af7beadbbb8232452a258da17a13e
parent: 41ed734674f3110961d775ddf648f5032c2d92cf
parent: 2907cb2875354bb8e36633cf61d7654fa7554f3e
author: sijchen <sijchen@cisco.com>
date: Thu Oct 30 05:10:08 EDT 2014
Merge pull request #1471 from mstorsjo/fix-warnings Remove unused variables and an impossible condition
--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -282,9 +282,6 @@
//IntraPeriod
uiGOPSize = 1 << (param_.iTemporalLayerNum - 1);
param_.uiIntraPeriod -= param_.uiIntraPeriod % uiGOPSize;
- if (param_.uiIntraPeriod < 0) {
- param_.uiIntraPeriod = 0;
- }
//RefNum
int32_t iRefUpperBound = (param_.iUsageType == CAMERA_VIDEO_REAL_TIME) ?
@@ -412,11 +409,8 @@
}
void EncodeDecodeTestAPI::SliceParamValidationForMode3 (int iSpatialIdx) {
- unsigned int uiMbWidth = 0;
unsigned int uiMbHeight = 0;
- unsigned int uiMbNumInFrame = 0;
- uiMbWidth = (param_.iPicWidth + 15) >> 4;
uiMbHeight = (param_.iPicHeight + 15) >> 4;
//change slice mode to SM_SINGLE_SLICE