ref: e8fc798d02ba4c976f24b796a6f4c0681771380a
parent: a2164c22af245f845f42fa268cea73e5a0d1b5ba
author: Licai Guo <guolicai@gmail.com>
date: Wed Jan 22 13:27:46 EST 2014
add parentheses
--- a/codec/decoder/core/src/parse_mb_syn_cavlc.cpp
+++ b/codec/decoder/core/src/parse_mb_syn_cavlc.cpp
@@ -735,7 +735,7 @@
pBs->iIndex += iUsedBits;
return 0;
}
- if (uiTrailingOnes > 3 || uiTotalCoeff > 16) { /////////////////check uiTrailingOnes and uiTotalCoeff
+ if ((uiTrailingOnes > 3) || (uiTotalCoeff > 16)) { /////////////////check uiTrailingOnes and uiTotalCoeff
return ERR_INFO_CAVLC_INVALID_TOTAL_COEFF_OR_TRAILING_ONES;
}
iUsedBits += CavlcGetLevelVal (iLevel, &sReadBitsCache, uiTotalCoeff, uiTrailingOnes);