shithub: openh264

Download patch

ref: 22cc0a88c6e5c3053ba686f78c24c7098f436613
parent: 0d426b826d55333714fad886885e3c64927b0eee
parent: 29da6a600afff1a5fdb619e01c7166fcfad84cc9
author: ruil2 <[email protected]>
date: Tue Nov 25 12:14:32 EST 2014

Merge pull request #1552 from mstorsjo/init-parameters

Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit

--- 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);