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/processing/src/common/WelsFrameWork.cpp (1 of 22 files). Show all

Unified · Split

codec/processing/src/common/WelsFrameWork.cpp+2−2
@@ -221,7 +221,7 @@ EResult CVpFrameWork::SpecialFeature (int32_t iType, void* pIn, void* pOut) { · 220 unmodified lines
221}221}
222 222
223bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) {223bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& pDstPixMap) {
224 bool eReturn = FALSE;224 bool eReturn = false;
225 225
226 if (eMethod == METHOD_NULL)226 if (eMethod == METHOD_NULL)
227 goto exit;227 goto exit;
@@ -253,7 +253,7 @@ bool CVpFrameWork::CheckValid (EMethods eMethod, SPixMap& pSrcPixMap, SPixMap& · 25 unmodified lines
253 || pDstPixMap.sRect.iRectLeft >= pDstPixMap.sRect.iRectWidth || pDstPixMap.sRect.iRectWidth > pDstPixMap.iStride[0])253 || pDstPixMap.sRect.iRectLeft >= pDstPixMap.sRect.iRectWidth || pDstPixMap.sRect.iRectWidth > pDstPixMap.iStride[0])
254 goto exit;254 goto exit;
255 }255 }
256 eReturn = TRUE;256 eReturn = true;
257 257
258exit:258exit:
259 return eReturn;259 return eReturn;

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