History

Remove tabs from commented out code

Martin Storsjö committed 11 years ago

Commit 43767cd1 parent e1840a013 files · +48 −48Browse files

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

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+3−3
@@ -266,7 +266,7 @@ int CWelsH264SVCEncoder::InitializeInternal (SWelsSvcCodingParam* pCfg) { · 265 unmodified lines
266 return cmInitParaError;266 return cmInitParaError;
267 }267 }
268 268
269 // assert( cfg.uiGopSize >= 1 && ( cfg.uiIntraPeriod && (cfg.uiIntraPeriod % cfg.uiGopSize) == 0) );269 // assert( cfg.uiGopSize >= 1 && ( cfg.uiIntraPeriod && (cfg.uiIntraPeriod % cfg.uiGopSize) == 0) );
270 270
271 if (pCfg->uiGopSize < 1 || pCfg->uiGopSize > MAX_GOP_SIZE) {271 if (pCfg->uiGopSize < 1 || pCfg->uiGopSize > MAX_GOP_SIZE) {
272 WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_ERROR,272 WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_ERROR,
@@ -1231,7 +1231,7 @@ void CWelsH264SVCEncoder::DumpSrcPicture (const uint8_t* pSrc) { · 958 unmodified lines
1231 case videoFormatYV12:1231 case videoFormatYV12:
1232 WelsStrcat (strFileName, 256, "yuv"); // confirmed_safe_unsafe_usage1232 WelsStrcat (strFileName, 256, "yuv"); // confirmed_safe_unsafe_usage
1233 pFile = WelsFopen (strFileName, "ab+");1233 pFile = WelsFopen (strFileName, "ab+");
1234 // WelsLog( &m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "WELS_CSP_I420, m_iCspInternal= 0x%x", m_iCspInternal);1234 // WelsLog( &m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "WELS_CSP_I420, m_iCspInternal= 0x%x", m_iCspInternal);
1235 if (NULL != pFile) {1235 if (NULL != pFile) {
1236 fwrite (pSrc, sizeof (uint8_t), (iDataLength * 3) >> 1, pFile);1236 fwrite (pSrc, sizeof (uint8_t), (iDataLength * 3) >> 1, pFile);
1237 fflush (pFile);1237 fflush (pFile);
@@ -1249,7 +1249,7 @@ void CWelsH264SVCEncoder::DumpSrcPicture (const uint8_t* pSrc) { · 11 unmodified lines
1249 case videoFormatBGR:1249 case videoFormatBGR:
1250 WelsStrcat (strFileName, 256, "bgr"); // confirmed_safe_unsafe_usage1250 WelsStrcat (strFileName, 256, "bgr"); // confirmed_safe_unsafe_usage
1251 pFile = WelsFopen (strFileName, "ab+");1251 pFile = WelsFopen (strFileName, "ab+");
1252 // WelsLog( &m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "WELS_CSP_BGR, m_iCspInternal= 0x%x", m_iCspInternal);1252 // WelsLog( &m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, "WELS_CSP_BGR, m_iCspInternal= 0x%x", m_iCspInternal);
1253 if (NULL != pFile) {1253 if (NULL != pFile) {
1254 fwrite (pSrc, sizeof (uint8_t), iDataLength * 3, pFile);1254 fwrite (pSrc, sizeof (uint8_t), iDataLength * 3, pFile);
1255 fflush (pFile);1255 fflush (pFile);

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