History

Remove useless ifdefs

This is in practice always enabled on all currently supported platforms.

Martin Storsjö committed 12 years ago

Commit 647fff61 parent bbb6ffd3 files · +0 −16Browse files

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

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+0−6
@@ -60,9 +60,7 @@ namespace WelsSVCEnc { · 59 unmodified lines
6060 */
6161 CWelsH264SVCEncoder::CWelsH264SVCEncoder()
6262 : m_pEncContext (NULL),
63−#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
6463 m_pWelsTrace (NULL),
65−#endif
6664 m_pSrcPicList (NULL),
6765 m_iSrcListSize (0),
6866 m_iMaxPicWidth (0),
@@ -145,13 +143,11 @@ CWelsH264SVCEncoder::CWelsH264SVCEncoder() · 76 unmodified lines
145143
146144 CWelsH264SVCEncoder::~CWelsH264SVCEncoder() {
147145 WelsLog (NULL, WELS_LOG_INFO, "CWelsH264SVCEncoder::~CWelsH264SVCEncoder()\n");
148−#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
149146
150147 if (m_pWelsTrace != NULL) {
151148 delete m_pWelsTrace;
152149 m_pWelsTrace = NULL;
153150 }
154−#endif
155151 #ifdef REC_FRAME_COUNT
156152 WelsLog (m_pEncContext, WELS_LOG_INFO,
157153 "CWelsH264SVCEncoder::~CWelsH264SVCEncoder(), m_uiCountFrameNum= %d, m_iCspInternal= 0x%x\n", m_uiCountFrameNum,
@@ -180,7 +176,6 @@ CWelsH264SVCEncoder::~CWelsH264SVCEncoder() { · 22 unmodified lines
180176 }
181177
182178 void CWelsH264SVCEncoder::InitEncoder (void) {
183−#if defined(_WIN32)||defined(_MACH_PLATFORM)||defined(__GNUC__)
184179
185180 #ifdef REC_FRAME_COUNT
186181 WelsLog (m_pEncContext, WELS_LOG_INFO,
@@ -198,7 +193,6 @@ void CWelsH264SVCEncoder::InitEncoder (void) { · 11 unmodified lines
198193
199194 // initialization
200195 WelsSetLogLevel (WELS_LOG_DEFAULT); // no output, WELS_LOG_QUIET
201−#endif
202196 }
203197
204198 /* Interfaces override from ISVCEncoder */

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