History

Don't implicitly convert int to bool

This avoids warnings with MSVC.

Martin Storsjö committed 11 years ago

Commit 5d4eb631 parent f4af5d21 file · +1 −1Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+1−1
@@ -127,7 +127,7 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 126 unmodified lines
127 WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "DecodeFrameConstruction():New sequence detected, but freezed.");127 WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "DecodeFrameConstruction():New sequence detected, but freezed.");
128 }128 }
129 }129 }
130 UpdateDecStat (pCtx, pDstInfo->iBufferStatus);130 UpdateDecStat (pCtx, pDstInfo->iBufferStatus != 0);
131 131
132 return 0;132 return 0;
133}133}

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