History

Use the C++ constants true/false instead of defining our own

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.

Martin Storsjö committed 12 years ago

Commit 80862ee1 parent f2bd22a22 files · +123 −136Browse files

Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 22 files). Show all

Unified · Split

codec/encoder/core/src/slice_multi_threading.cpp+2−2
@@ -967,7 +967,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 966 unmodified lines
967967 InitBits (&pSliceBs->sBsWrite, pSliceBs->pBsBuffer, pSliceBs->uiSize);
968968
969969 #if MT_DEBUG_BS_WR
970− pSliceBs->bSliceCodedFlag = FALSE;
970+ pSliceBs->bSliceCodedFlag = false;
971971 #endif//MT_DEBUG_BS_WR
972972
973973 if (bNeedPrefix) {
@@ -1041,7 +1041,7 @@ WELS_THREAD_ROUTINE_TYPE CodingSliceThreadProc (void* arg) { · 67 unmodified lines
10411041 #endif//SLICE_INFO_OUTPUT
10421042
10431043 #if MT_DEBUG_BS_WR
1044− pSliceBs->bSliceCodedFlag = TRUE;
1044+ pSliceBs->bSliceCodedFlag = true;
10451045 #endif//MT_DEBUG_BS_WR
10461046
10471047 #ifdef _WIN32

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