ref: 29da6a600afff1a5fdb619e01c7166fcfad84cc9
parent: 305a2421be82a643b6a8dfa73c179b9d6a5e73f5
author: Martin Storsjö <martin@martin.st>
date: Tue Nov 25 04:59:25 EST 2014
Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit This fixes valgrind warnings about using uninitialized data in this test.
--- a/test/decoder/DecUT_DecExt.cpp
+++ b/test/decoder/DecUT_DecExt.cpp
@@ -211,6 +211,7 @@
}
//Initialize first, can get input color format
m_sDecParam.eOutputColorFormat = (EVideoFormatType) 20; //just for test
+ m_sDecParam.bParseOnly = false;
m_pDec->Initialize (&m_sDecParam);
eRet = (CM_RETURN) m_pDec->GetOption (DECODER_OPTION_DATAFORMAT, &iOutput);
EXPECT_EQ (eRet, cmResultSuccess);