ref: 91ae2dab7a65825f02d8d3ea72c3025e96a80a5f
parent: dd24edc8ff62019ecb6a1d862d03e81de4365b77
parent: 5d4eb63d5279c924e84dab657f2f9896f1b6eef3
author: ruil2 <[email protected]>
date: Tue Dec 2 10:54:35 EST 2014
Merge pull request #1587 from mstorsjo/msvc-warnings Don't implicitly convert int to bool
--- a/codec/decoder/core/src/decoder_core.cpp
+++ b/codec/decoder/core/src/decoder_core.cpp
@@ -127,7 +127,7 @@
WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "DecodeFrameConstruction():New sequence detected, but freezed.");
}
}
- UpdateDecStat (pCtx, pDstInfo->iBufferStatus);
+ UpdateDecStat (pCtx, pDstInfo->iBufferStatus != 0);
return 0;
}