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/decoder/plus/src/welsDecoderExt.cpp (1 of 4 files). Show all

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+2−5
@@ -102,11 +102,8 @@ CWelsDecoder::CWelsDecoder (void) · 101 unmodified lines
102102
103103 m_pWelsTrace = new welsCodecTrace();
104104 if (m_pWelsTrace != NULL) {
105− const int32_t iWelsTraceExistingFlag = m_pWelsTrace->WelsTraceModuleIsExist();
106− if (iWelsTraceExistingFlag) {
107− m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
108− WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
109− }
105+ m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
106+ WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
110107 }
111108
112109 WelsLog (NULL, WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry");

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