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
102 102
103 m_pWelsTrace = new welsCodecTrace();103 m_pWelsTrace = new welsCodecTrace();
104 if (m_pWelsTrace != NULL) {104 if (m_pWelsTrace != NULL) {
105 const int32_t iWelsTraceExistingFlag = m_pWelsTrace->WelsTraceModuleIsExist();105 m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
106 if (iWelsTraceExistingFlag) {106 WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
107 m_pWelsTrace->SetTraceLevel (WELS_LOG_ERROR);
108 WelsSetLogCallback (welsCodecTrace::CODEC_TRACE);
109 }
110 }107 }
111 108
112 WelsLog (NULL, WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry");109 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