ref: a19a4e5fa6d0d8b1316c3aa1af1ca38863497d12
parent: 415dd10640a501d543138eb6aabae3c13e141e27
parent: 2f1a188aee201de8a6b6fdd6b820dda376e043c6
author: guangwei <[email protected]>
date: Tue Apr 3 05:07:53 EDT 2018
Merge pull request #2948 from sijchen/ut0 [UT] add size limitation in UT to avoid random failure
--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -84,7 +84,7 @@
SEncParamExt* pParam) {
memset (pParam, 0, sizeof (SEncParamExt));
encoder_->GetDefaultParams (pParam);
- EncodeDecodeTestBase::prepareParam (iLayers, iSlices, width, height, framerate, pParam);
+ EncodeDecodeTestBase::prepareParam (iLayers, iSlices, VALID_SIZE(width), VALID_SIZE(height), framerate, pParam);
}