ref: 810d20a59d5734f3e768b45a2977a41fff2b23a4
parent: d0f9b218f474c032640f6a98c9b6590af60b8527
author: huili2 <huili2@cisco.com>
date: Wed Sep 24 14:04:24 EDT 2014
bug fix for dataformat UT
--- a/test/decoder/DecUT_DecExt.cpp
+++ b/test/decoder/DecUT_DecExt.cpp
@@ -86,7 +86,7 @@
m_szBuffer[3] = 1;
m_iBufLength = 4;
CM_RETURN eRet = (CM_RETURN) m_pDec->Initialize (&m_sDecParam);
- if ((m_sDecParam.eOutputColorFormat != videoFormatI420) ||
+ if ((m_sDecParam.eOutputColorFormat != videoFormatI420) &&
(m_sDecParam.eOutputColorFormat != videoFormatInternal))
ASSERT_EQ (eRet, cmUnsupportedData);
else