ref: 8de54078d73e160a877d8661f275dbc105a893ab
parent: 328094acfd38f1c87730d6473bf66b7ddabbacad
author: Martin Storsjö <[email protected]>
date: Tue Dec 23 18:17:18 EST 2014
Use an unsigned variable for comparison with unsigned values This avoids warnings about comparison between signed and unsigned.
--- a/codec/decoder/core/src/au_parser.cpp
+++ b/codec/decoder/core/src/au_parser.cpp
@@ -1437,7 +1437,7 @@
defaultScaling[2] = bInit ? pSps->iScalingList8x8[0] : g_kuiDequantScaling8x8Default[0];
defaultScaling[3] = bInit ? pSps->iScalingList8x8[1] : g_kuiDequantScaling8x8Default[1];
- for (int i = 0; i < uiScalingListNum; i++) {
+ for (unsigned int i = 0; i < uiScalingListNum; i++) {
WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode));
pScalingListPresentFlag[i] = !!uiCode;
if (!!uiCode) {