fix usan error in waveforma adjustment - compute sign differently
requested to merge 1037-usan-left-shift-of-negative-value-for-evs-decoding-at-48kbps-in-waveadjust_fec_dec-c into main
- Related issues: #1037 (closed)
- Requested reviewers: @multrus @fotopoulou
Reason why this change is needed
- Fix undefined-behaviour bug in EVS part of codec
Description of the change
- Computation of sign is done differently so that it is not undefined or implementation-defined behaviour anymore.
Affected operating points
- EVS PLC might be non-BE, in testing it was still bit-exact, but as undefined behaviour is removed, in theory there could be a difference.
Related to #1037 (closed)