Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 4 files). Show all
Unified · Split
| @@ -172,11 +172,8 @@ void CWelsH264SVCEncoder::InitEncoder (void) { · 171 unmodified lines | ||
| 172 | 172 | |
| 173 | 173 | m_pWelsTrace = new welsCodecTrace(); |
| 174 | 174 | if (m_pWelsTrace != NULL) { |
| 175 | − const int32_t iWelsTraceExistingFlag = m_pWelsTrace->WelsTraceModuleIsExist(); | |
| 176 | − if (iWelsTraceExistingFlag) { | |
| 177 | − m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); | |
| 178 | − WelsSetLogCallback (welsCodecTrace::CODEC_TRACE); | |
| 179 | − } | |
| 175 | + m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR); | |
| 176 | + WelsSetLogCallback (welsCodecTrace::CODEC_TRACE); | |
| 180 | 177 | } |
| 181 | 178 | } |
| 182 | 179 | |