add parenthses

This commit is contained in:
Licai Guo
2014-01-21 00:23:41 -08:00
parent 1a04694d97
commit 56767f8154
2 changed files with 2 additions and 2 deletions

View File

@@ -403,7 +403,7 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool_t bFirstSliceInLayer, PN
iNextMbXyIndex = pSliceHeader->iFirstMbInSlice;
if (iNextMbXyIndex < 0 || iNextMbXyIndex >= kiCountNumMb) {
if ((iNextMbXyIndex < 0) || (iNextMbXyIndex >= kiCountNumMb)) {
WelsLog (pCtx, WELS_LOG_ERROR,
"WelsDecodeSlice()::iFirstMbInSlice(%d) > pSps->kiTotalMb(%d). ERROR!!! resolution change....\n",
iNextMbXyIndex, kiCountNumMb);