Remove the shift exponent too large warning
This commit is contained in:
parent
af6a9a838f
commit
f1d92ef363
@ -195,6 +195,7 @@ ERR_INFO_INVALID_MMCO_REF_NUM_NOT_ENOUGH,
|
||||
ERR_INFO_INVALID_MMCO_LONG_TERM_IDX_EXCEED_MAX,
|
||||
//for CABAC
|
||||
ERR_CABAC_NO_BS_TO_READ,
|
||||
ERR_CABAC_UNEXPECTED_VALUE,
|
||||
//for scaling list
|
||||
ERR_SCALING_LIST_DELTA_SCALE,
|
||||
};
|
||||
|
@ -273,7 +273,10 @@ int32_t DecodeExpBypassCabac (PWelsCabacDecEngine pDecEngine, int32_t iCount, ui
|
||||
iSymTmp += (1 << iCount);
|
||||
++iCount;
|
||||
}
|
||||
} while (uiCode != 0);
|
||||
} while (uiCode != 0 && iCount != 31);
|
||||
if (iCount == 31) {
|
||||
return ERR_CABAC_UNEXPECTED_VALUE;
|
||||
}
|
||||
|
||||
while (iCount--) {
|
||||
WELS_READ_VERIFY (DecodeBypassCabac (pDecEngine, uiCode));
|
||||
|
Loading…
x
Reference in New Issue
Block a user