This fixes valgrind warnings about using uninitialized data in this test.
Showing the changes to test/decoder/DecUT_DecExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -211,6 +211,7 @@ void DecoderInterfaceTest::TestInitUninit() { · 210 unmodified lines | |||
| 211 | } | 211 | } |
| 212 | //Initialize first, can get input color format | 212 | //Initialize first, can get input color format |
| 213 | m_sDecParam.eOutputColorFormat = (EVideoFormatType) 20; //just for test | 213 | m_sDecParam.eOutputColorFormat = (EVideoFormatType) 20; //just for test |
| 214 | m_sDecParam.bParseOnly = false; | ||
| 214 | m_pDec->Initialize (&m_sDecParam); | 215 | m_pDec->Initialize (&m_sDecParam); |
| 215 | eRet = (CM_RETURN) m_pDec->GetOption (DECODER_OPTION_DATAFORMAT, &iOutput); | 216 | eRet = (CM_RETURN) m_pDec->GetOption (DECODER_OPTION_DATAFORMAT, &iOutput); |
| 216 | EXPECT_EQ (eRet, cmResultSuccess); | 217 | EXPECT_EQ (eRet, cmResultSuccess); |