Add USAN fix under FIX_1474_USAN_TRANS_INV - basop
- Related issues: ivas-codec-pc/ivas-codec#1474
- Requested reviewers: @svedberg
Reason why this change is needed
- Clang USAN found an out-of-bounds-index error at lib_com/trans_inv.c:841:33. The pointer address is set outside the target array, but it is indexed such that it is always within the array.
Description of the change
- Remove initialization of pointer that points outside of the buffer. Change pointer access such that it corresponds to the updated initialization.
- Code looks less symmetric than before, but is equivalent.
Affected operating points
- All BE.