History

Rename the decoder WelsMalloc to WelsMallocz

This function actually zero-initializes the allocated memory, thus make this clear in the function name. This makes the function name match the same behaviour in the encoder.

Martin Storsjö committed 11 years ago

Commit 869870e1 parent 9b442b312 files · +58 −58Browse files

Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 12 files). Show all

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+1−1
@@ -240,7 +240,7 @@ int32_t CWelsDecoder::InitDecoder (const bool bParseOnly) { · 239 unmodified lines
240 240
241 if (m_pDecContext) //free241 if (m_pDecContext) //free
242 UninitDecoder();242 UninitDecoder();
243 m_pDecContext = (PWelsDecoderContext)WelsMalloc (sizeof (SWelsDecoderContext), "m_pDecContext");243 m_pDecContext = (PWelsDecoderContext)WelsMallocz (sizeof (SWelsDecoderContext), "m_pDecContext");
244 if (NULL == m_pDecContext)244 if (NULL == m_pDecContext)
245 return cmMallocMemeError;245 return cmMallocMemeError;
246 246

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