History

Remove the unnecessary method WelsTraceModuleIsExist(), which always returned true

Martin Storsjö committed 12 years ago

Commit 17fc6bd1 parent d9348844 files · +4 −21Browse files

Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 4 files). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+2−5
@@ -172,11 +172,8 @@ void CWelsH264SVCEncoder::InitEncoder (void) { · 171 unmodified lines
172 172
173 m_pWelsTrace = new welsCodecTrace();173 m_pWelsTrace = new welsCodecTrace();
174 if (m_pWelsTrace != NULL) {174 if (m_pWelsTrace != NULL) {
175 const int32_t iWelsTraceExistingFlag = m_pWelsTrace->WelsTraceModuleIsExist();175 m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
176 if (iWelsTraceExistingFlag) {176 WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
177 m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
178 WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
179 }
180 }177 }
181}178}
182 179

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