bool is one of the built in, standard types in C++, there's no need for a typedef for it.
Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 82 files). Show all
Unified · Split
| @@ -177,11 +177,11 @@ void_t WelsDecoderDefaults (PWelsDecoderContext pCtx) { · 176 unmodified lines | ||
| 177 | 177 | * get size of reference picture list in target layer incoming, = (iNumRefFrames x 2) |
| 178 | 178 | */ |
| 179 | 179 | 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]; | |
| 182 | 182 | int32_t iSubsetIdx = -1; |
| 183 | 183 | int32_t iSpsIdx = -1; |
| 184 | − bool_t bExistSubsetSps = false; | |
| 184 | + bool bExistSubsetSps = false; | |
| 185 | 185 | int32_t bExistSps = false; |
| 186 | 186 | int32_t iPos = MAX_SPS_COUNT - 1; |
| 187 | 187 | int32_t iNumRefFrames = 0; |
| @@ -238,7 +238,7 @@ int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const · 50 unmodified lines | ||
| 238 | 238 | |
| 239 | 239 | int32_t iListIdx = 0; //, mb_blocks = 0; |
| 240 | 240 | int32_t iPicQueueSize = 0; // adaptive size of picture queue, = (pSps->iNumRefFrames x 2) |
| 241 | − bool_t bNeedChangePicQueue = true; | |
| 241 | + bool bNeedChangePicQueue = true; | |
| 242 | 242 | |
| 243 | 243 | WELS_VERIFY_RETURN_IF (ERR_INFO_INVALID_PARAM, (NULL == pCtx || kiPicWidth <= 0 || kiPicHeight <= 0)) |
| 244 | 244 | |