This avoids warnings about comparison between signed and unsigned.
Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1437,7 +1437,7 @@ int32_t ParseScalingList (PSps pSps, PBitStringAux pBs, bool bPPS, bool* pScalin · 1436 unmodified lines | ||
| 1437 | 1437 | defaultScaling[2] = bInit ? pSps->iScalingList8x8[0] : g_kuiDequantScaling8x8Default[0]; |
| 1438 | 1438 | defaultScaling[3] = bInit ? pSps->iScalingList8x8[1] : g_kuiDequantScaling8x8Default[1]; |
| 1439 | 1439 | |
| 1440 | − for (int i = 0; i < uiScalingListNum; i++) { | |
| 1440 | + for (unsigned int i = 0; i < uiScalingListNum; i++) { | |
| 1441 | 1441 | WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); |
| 1442 | 1442 | pScalingListPresentFlag[i] = !!uiCode; |
| 1443 | 1443 | if (!!uiCode) { |