Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 14 files). Show all
Unified · Split
| @@ -75,7 +75,7 @@ uint8_t* DetectStartCodePrefix (const uint8_t* kpBuf, int32_t* pOffset, int32_t · 74 unmodified lines | ||
| 75 | 75 | ++ pBits; |
| 76 | 76 | |
| 77 | 77 | if ((iIdx >= 3) && ((* (pBits - 1)) == 0x1)) { |
| 78 | − *pOffset = ((uintptr_t)pBits) - ((uintptr_t)kpBuf); | |
| 78 | + *pOffset = (int32_t) (((uintptr_t)pBits) - ((uintptr_t)kpBuf)); | |
| 79 | 79 | return pBits; |
| 80 | 80 | } |
| 81 | 81 | |