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/svc_encode_slice.cpp (1 of 22 files). Show all
Unified · Split
| @@ -874,7 +874,7 @@ bool DynSlcJudgeSliceBoundaryStepBack (void* pCtx, void* pSlice, SSliceCtx* pSli · 873 unmodified lines | ||
| 874 | 874 | WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate); |
| 875 | 875 | #endif//MT_ENABLED |
| 876 | 876 | |
| 877 | − return TRUE; | |
| 877 | + return true; | |
| 878 | 878 | } |
| 879 | 879 | |
| 880 | 880 | if ( |
| @@ -896,7 +896,7 @@ bool DynSlcJudgeSliceBoundaryStepBack (void* pCtx, void* pSlice, SSliceCtx* pSli · 15 unmodified lines | ||
| 896 | 896 | WelsMutexUnlock (&pEncCtx->pSliceThreading->mutexSliceNumUpdate); |
| 897 | 897 | #endif//MT_ENABLED |
| 898 | 898 | |
| 899 | − return FALSE; | |
| 899 | + return false; | |
| 900 | 900 | } |
| 901 | 901 | |
| 902 | 902 | /////////////// |