History

Avoid warnings about converting from int to bool

MSVC used to warn about this.

Martin Storsjö committed 12 years ago

Commit a2914701 parent 3b5448c2 files · +2 −2Browse files

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

Unified · Split

codec/encoder/core/src/svc_encode_slice.cpp+1−1
@@ -748,7 +748,7 @@ int32_t WelsCodeOneSlice (sWelsEncCtx* pEncCtx, const int32_t kiSliceIdx, const · 747 unmodified lines
748 if (ENC_RETURN_SUCCESS != iEncReturn)748 if (ENC_RETURN_SUCCESS != iEncReturn)
749 return iEncReturn;749 return iEncReturn;
750 750
751 WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag);751 WelsWriteSliceEndSyn (pCurSlice, pEncCtx->pSvcParam->iEntropyCodingModeFlag != 0);
752 752
753 return ENC_RETURN_SUCCESS;753 return ENC_RETURN_SUCCESS;
754}754}

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