Showing the changes to test/decoder/DecUT_DecExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -87,7 +87,7 @@ int32_t DecoderInterfaceTest::Init() { · 86 unmodified lines | ||
| 87 | 87 | m_sDecParam.uiTargetDqLayer = rand() % 100; |
| 88 | 88 | m_sDecParam.eEcActiveIdc = (ERROR_CON_IDC) (rand() & 7); |
| 89 | 89 | m_sDecParam.sVideoProperty.size = sizeof (SVideoProperty); |
| 90 | − m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 3); | |
| 90 | + m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 2); | |
| 91 | 91 | |
| 92 | 92 | m_pData[0] = m_pData[1] = m_pData[2] = NULL; |
| 93 | 93 | m_szBuffer[0] = m_szBuffer[1] = m_szBuffer[2] = 0; |
| @@ -276,7 +276,7 @@ void DecoderInterfaceTest::TestParseOnlyAPI() { · 182 unmodified lines | ||
| 276 | 276 | m_sDecParam.bParseOnly = true; |
| 277 | 277 | m_sDecParam.eEcActiveIdc = (ERROR_CON_IDC) iNum; |
| 278 | 278 | m_sDecParam.sVideoProperty.size = sizeof (SVideoProperty); |
| 279 | − m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 3); | |
| 279 | + m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 2); | |
| 280 | 280 | |
| 281 | 281 | iRet = m_pDec->Initialize (&m_sDecParam); |
| 282 | 282 | ASSERT_EQ (iRet, (int32_t) cmResultSuccess); |
| @@ -309,7 +309,7 @@ void DecoderInterfaceTest::TestParseOnlyAPI() { · 26 unmodified lines | ||
| 309 | 309 | m_sDecParam.bParseOnly = false; |
| 310 | 310 | m_sDecParam.eEcActiveIdc = (ERROR_CON_IDC) iNum; |
| 311 | 311 | m_sDecParam.sVideoProperty.size = sizeof (SVideoProperty); |
| 312 | − m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 3); | |
| 312 | + m_sDecParam.sVideoProperty.eVideoBsType = (VIDEO_BITSTREAM_TYPE) (rand() % 2); | |
| 313 | 313 | |
| 314 | 314 | iRet = m_pDec->Initialize (&m_sDecParam); |
| 315 | 315 | ASSERT_EQ (iRet, (int32_t) cmResultSuccess); |