History

Use bool instead of bool_t

bool is one of the built in, standard types in C++, there's no need for a typedef for it.

Martin Storsjö committed 12 years ago

Commit 2b77fe71 parent 17d7b5d82 files · +468 −471Browse files

Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 82 files). Show all

Unified · Split

codec/decoder/core/src/decoder.cpp+4−4
@@ -177,11 +177,11 @@ void_t WelsDecoderDefaults (PWelsDecoderContext pCtx) { · 176 unmodified lines
177177 * get size of reference picture list in target layer incoming, = (iNumRefFrames x 2)
178178 */
179179 static inline int32_t GetTargetRefListSize (PWelsDecoderContext pCtx) {
180− bool_t* pSubsetSpsAvail = &pCtx->bSubspsAvailFlags[0];
181− bool_t* pSpsAvail = &pCtx->bSpsAvailFlags[0];
180+ bool* pSubsetSpsAvail = &pCtx->bSubspsAvailFlags[0];
181+ bool* pSpsAvail = &pCtx->bSpsAvailFlags[0];
182182 int32_t iSubsetIdx = -1;
183183 int32_t iSpsIdx = -1;
184− bool_t bExistSubsetSps = false;
184+ bool bExistSubsetSps = false;
185185 int32_t bExistSps = false;
186186 int32_t iPos = MAX_SPS_COUNT - 1;
187187 int32_t iNumRefFrames = 0;
@@ -238,7 +238,7 @@ int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const · 50 unmodified lines
238238
239239 int32_t iListIdx = 0; //, mb_blocks = 0;
240240 int32_t iPicQueueSize = 0; // adaptive size of picture queue, = (pSps->iNumRefFrames x 2)
241− bool_t bNeedChangePicQueue = true;
241+ bool bNeedChangePicQueue = true;
242242
243243 WELS_VERIFY_RETURN_IF (ERR_INFO_INVALID_PARAM, (NULL == pCtx || kiPicWidth <= 0 || kiPicHeight <= 0))
244244

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