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/svc_encode_slice.cpp (1 of 22 files). Show all

Unified · Split

codec/encoder/core/src/svc_encode_slice.cpp+2−2
@@ -874,7 +874,7 @@ bool DynSlcJudgeSliceBoundaryStepBack (void* pCtx, void* pSlice, SSliceCtx* pSli · 873 unmodified lines
874 WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate);874 WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate);
875#endif//MT_ENABLED875#endif//MT_ENABLED
876 876
877 return TRUE;877 return true;
878 }878 }
879 879
880 if (880 if (
@@ -896,7 +896,7 @@ bool DynSlcJudgeSliceBoundaryStepBack (void* pCtx, void* pSlice, SSliceCtx* pSli · 15 unmodified lines
896 WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate);896 WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate);
897#endif//MT_ENABLED897#endif//MT_ENABLED
898 898
899 return FALSE;899 return false;
900}900}
901 901
902///////////////902///////////////

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