All the following loops below assume that int iIdx already is declared.
Showing the changes to test/api/encode_decode_api_test.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3175,7 +3175,7 @@ TEST_F (EncodeDecodeTestAPI, SimulcastAVC) { · 3174 unmodified lines | ||
| 3175 | 3175 | int iIdx = 0; |
| 3176 | 3176 | |
| 3177 | 3177 | //create decoder |
| 3178 | − for (int iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { | |
| 3178 | + for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { | |
| 3179 | 3179 | pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) / 2)); |
| 3180 | 3180 | aLen[iIdx] = 0; |
| 3181 | 3181 | |