Merge pull request #1587 from mstorsjo/msvc-warnings

Don't implicitly convert int to bool
This commit is contained in:
ruil2 2014-12-02 15:54:35 +08:00
commit 91ae2dab7a

View File

@ -127,7 +127,7 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t
WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "DecodeFrameConstruction():New sequence detected, but freezed.");
}
}
UpdateDecStat (pCtx, pDstInfo->iBufferStatus);
UpdateDecStat (pCtx, pDstInfo->iBufferStatus != 0);
return 0;
}