Showing the changes to codec/processing/src/common/memory.cpp (1 of 64 files). Show all
Unified · Split
| @@ -36,11 +36,11 @@ WELSVP_NAMESPACE_BEGIN · 35 unmodified lines | ||
| 36 | 36 | ///////////////////////////////////////////////////////////////////////////////// |
| 37 | 37 | |
| 38 | 38 | void* WelsMalloc (const uint32_t kuiSize, char* pTag) { |
| 39 | − const int32_t kiSizeVoidPointer = sizeof (void**); | |
| 40 | − const int32_t kiSizeInt32 = sizeof (int32_t); | |
| 41 | − const int32_t kiAlignedBytes = ALIGNBYTES - 1; | |
| 39 | + const int32_t kiSizeVoidPointer = sizeof (void**); | |
| 40 | + const int32_t kiSizeInt32 = sizeof (int32_t); | |
| 41 | + const int32_t kiAlignedBytes = ALIGNBYTES - 1; | |
| 42 | 42 | |
| 43 | − uint8_t* pBuf = (uint8_t*) ::malloc (kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32); | |
| 43 | + uint8_t* pBuf = (uint8_t*) ::malloc (kuiSize + kiAlignedBytes + kiSizeVoidPointer + kiSizeInt32); | |
| 44 | 44 | uint8_t* pAlignedBuf = NULL; |
| 45 | 45 | |
| 46 | 46 | if (NULL == pBuf) |