History

Fixed warnings found by clang. Removed some trailing whitespace.

Ethan Hugg committed 12 years ago

Commit bcf102d1 parent 616dc872 files · +10 −10Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+7−7
@@ -1772,7 +1772,7 @@ void FreeMemorySvc (sWelsEncCtx** ppCtx) { · 1771 unmodified lines
17721772
17731773 #if defined(MEMORY_MONITOR)
17741774 assert (pMa->WelsGetMemoryUsage() == 0); // ensure all memory free well
1775−#endif//MEMORY_MONITOR
1775+#endif//MEMORY_MONITOR
17761776
17771777 if ((*ppCtx)->pMemAlign != NULL) {
17781778 WelsLog (NULL, WELS_LOG_INFO, "FreeMemorySvc(), verify memory usage (%d bytes) after free..\n",
@@ -2030,7 +2030,7 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 251 unmodified lines
20302030
20312031 uiCpuCores = pCodingParam->iMultipleThreadIdc; // assigned uiCpuCores from iMultipleThreadIdc from SGE testing
20322032
2033−#endif//WELS_TESTBED
2033+#endif//WELS_TESTBED
20342034
20352035 uiCpuCores = WELS_CLIP3 (uiCpuCores, 1, MAX_THREADS_NUM);
20362036
@@ -2123,9 +2123,9 @@ int32_t WelsInitEncoderExt (sWelsEncCtx** ppCtx, SWelsSvcCodingParam* pCodingPar · 86 unmodified lines
21232123 }
21242124
21252125 #if defined(MEMORY_MONITOR)
2126− WelsLog (pCtx, WELS_LOG_INFO, "WelsInitEncoderExt() exit, overall memory usage: %lu bytes\n",
2127− sizeof (sWelsEncCtx) /* requested size from malloc() or new operator */
2128− + pCtx->pMemAlign->WelsGetMemoryUsage() /* requested size from CMemoryAlign::WelsMalloc() */
2126+ WelsLog (pCtx, WELS_LOG_INFO, "WelsInitEncoderExt() exit, overall memory usage: %u bytes\n",
2127+ (unsigned int) (sizeof (sWelsEncCtx) /* requested size from malloc() or new operator */
2128+ + pCtx->pMemAlign->WelsGetMemoryUsage()) /* requested size from CMemoryAlign::WelsMalloc() */
21292129 );
21302130 #endif//MEMORY_MONITOR
21312131
@@ -3522,7 +3522,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 1390 unmodified lines
35223522 (pCtx->eSliceType == P_SLICE ? 'P' : 'I'),
35233523 eNalRefIdc,
35243524 iSliceSize);
3525−#endif//SLICE_INFO_OUTPUT
3525+#endif//SLICE_INFO_OUTPUT
35263526 ++ iNalIdxInLayer;
35273527 ++ iSliceIdx;
35283528 }
@@ -3758,7 +3758,7 @@ int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, void* pDst, const SSourcePictur · 229 unmodified lines
37583758
37593759 #if defined(X86_ASM)
37603760 WelsEmms();
3761−#endif //X86_ASM
3761+#endif //X86_ASM
37623762
37633763 return eFrameType;
37643764 }

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