Showing the changes to test/decoder/DecUT_ParseSyntax.cpp (1 of 1 file). Show all
Unified · Split
| @@ -165,6 +165,7 @@ void DecoderParseSyntaxTest::Init() { · 164 unmodified lines | |||
| 165 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); | 165 | m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); |
| 166 | } | 166 | } |
| 167 | CM_RETURN eRet = (CM_RETURN)Initialize (&m_sDecParam, m_pCtx, &m_pWelsTrace->m_sLogCtx); | 167 | CM_RETURN eRet = (CM_RETURN)Initialize (&m_sDecParam, m_pCtx, &m_pWelsTrace->m_sLogCtx); |
| 168 | (void) eRet; | ||
| 168 | } | 169 | } |
| 169 | 170 | ||
| 170 | void DecoderParseSyntaxTest::Uninit() { | 171 | void DecoderParseSyntaxTest::Uninit() { |
| @@ -195,9 +196,9 @@ void DecoderParseSyntaxTest::DecodeBs (const char* sFileName) { · 24 unmodified lines | |||
| 195 | 196 | ||
| 196 | #if defined(ANDROID_NDK) | 197 | #if defined(ANDROID_NDK) |
| 197 | std::string filename = std::string ("/sdcard/") + sFileName; | 198 | std::string filename = std::string ("/sdcard/") + sFileName; |
| 198 | ASSERT_TRUE (pH264File = fopen (filename.c_str(), "rb")); | 199 | ASSERT_TRUE ((pH264File = fopen (filename.c_str(), "rb")) != NULL); |
| 199 | #else | 200 | #else |
| 200 | ASSERT_TRUE (pH264File = fopen (sFileName, "rb")); | 201 | ASSERT_TRUE ((pH264File = fopen (sFileName, "rb")) != NULL); |
| 201 | #endif | 202 | #endif |
| 202 | fseek (pH264File, 0L, SEEK_END); | 203 | fseek (pH264File, 0L, SEEK_END); |
| 203 | iFileSize = (int32_t) ftell (pH264File); | 204 | iFileSize = (int32_t) ftell (pH264File); |