History

Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit

This fixes valgrind warnings about using uninitialized data in this test.

Martin Storsjö committed 11 years ago

Commit 29da6a61 parent 305a2421 file · +1 −0Browse files

Showing the changes to test/decoder/DecUT_DecExt.cpp (1 of 1 file). Show all

Unified · Split

test/decoder/DecUT_DecExt.cpp+1−0
@@ -211,6 +211,7 @@ void DecoderInterfaceTest::TestInitUninit() { · 210 unmodified lines
211211 }
212212 //Initialize first, can get input color format
213213 m_sDecParam.eOutputColorFormat = (EVideoFormatType) 20; //just for test
214+ m_sDecParam.bParseOnly = false;
214215 m_pDec->Initialize (&m_sDecParam);
215216 eRet = (CM_RETURN) m_pDec->GetOption (DECODER_OPTION_DATAFORMAT, &iOutput);
216217 EXPECT_EQ (eRet, cmResultSuccess);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t