Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 8 files). Show all
Unified · Split
| @@ -86,7 +86,7 @@ uint8_t* DetectStartCodePrefix (const uint8_t* kpBuf, int32_t* pOffset, int32_t · 85 unmodified lines | ||
| 86 | 86 | ++ pBits; |
| 87 | 87 | |
| 88 | 88 | if ((iIdx >= 3) && ((* (pBits - 1)) == 0x1)) { |
| 89 | − *pOffset = ((uint32_t)pBits) - ((uint32_t)kpBuf); | |
| 89 | + *pOffset = ((uintptr_t)pBits) - ((uintptr_t)kpBuf); | |
| 90 | 90 | return pBits; |
| 91 | 91 | } |
| 92 | 92 | |
| @@ -970,4 +970,4 @@ int32_t ResetFmoList (PWelsDecoderContext pCtx) { · 877 unmodified lines | ||
| 970 | 970 | return iCountNum; |
| 971 | 971 | } |
| 972 | 972 | |
| 973 | −} // namespace WelsDec | |
| 973 | +} // namespace WelsDec | |