ref: 5d4eb63d5279c924e84dab657f2f9896f1b6eef3
parent: f4af5d2fda59ba210a52fdc7200028f0c80c5a71
author: Martin Storsjö <[email protected]>
date: Tue Dec 2 04:35:05 EST 2014
Don't implicitly convert int to bool This avoids warnings with MSVC.
--- 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;
}