mirror of https://github.com/FFmpeg/FFmpeg.git
For even small values of 'asrc[x]', shifting them by 24 bits or more will cause arithmetic overflow and be caught by GCC's undefined behaviour sanitizer. Ensure the values do not overflow by up-casting the bracketed expressions involving 'asrc' to uint32_t. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>release/7.1
parent
e9e8bea2e7
commit
34b4ca8696
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue