TRUE/FALSE has intentionally been left in use for the few platform specific APIs that define these constants themselves and expect them to be used, for consistency.
Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 22 files). Show all
Unified · Split
| @@ -967,7 +967,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 966 unmodified lines | |||
| 967 | InitBits (&pSliceBs->sBsWrite, pSliceBs->pBsBuffer, pSliceBs->uiSize); | 967 | InitBits (&pSliceBs->sBsWrite, pSliceBs->pBsBuffer, pSliceBs->uiSize); |
| 968 | 968 | ||
| 969 | #if MT_DEBUG_BS_WR | 969 | #if MT_DEBUG_BS_WR |
| 970 | pSliceBs->bSliceCodedFlag = FALSE; | 970 | pSliceBs->bSliceCodedFlag = false; |
| 971 | #endif//MT_DEBUG_BS_WR | 971 | #endif//MT_DEBUG_BS_WR |
| 972 | 972 | ||
| 973 | if (bNeedPrefix) { | 973 | if (bNeedPrefix) { |
| @@ -1041,7 +1041,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 67 unmodified lines | |||
| 1041 | #endif//SLICE_INFO_OUTPUT | 1041 | #endif//SLICE_INFO_OUTPUT |
| 1042 | 1042 | ||
| 1043 | #if MT_DEBUG_BS_WR | 1043 | #if MT_DEBUG_BS_WR |
| 1044 | pSliceBs->bSliceCodedFlag = TRUE; | 1044 | pSliceBs->bSliceCodedFlag = true; |
| 1045 | #endif//MT_DEBUG_BS_WR | 1045 | #endif//MT_DEBUG_BS_WR |
| 1046 | 1046 | ||
| 1047 | #ifdef _WIN32 | 1047 | #ifdef _WIN32 |