aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-22 15:52:10 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-02 23:44:51 +0200
commit4374da638ec944b485ece1ecb15fd9f562cde1cb (patch)
tree857bef29b2104b5816aeda10c9ad9f8389ee8f70 /libavutil/utils.c
parent30cf495505cf897eb25a89d0f915e49733e4c36b (diff)
downloadffmpeg-4374da638ec944b485ece1ecb15fd9f562cde1cb.tar.gz
avcodec/ra144enc: Fix invalid left shift of negative number
by replacing it with a multiplication. Said multiplication can't overflow an int32_t because lpc_coefs is limited to 16 bit precision. Fixes the FACE-test acodec-ra144 as well as part of #8217. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit e3fb9af6f1353f30855eaa1cbd5befaf06e303b8) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/utils.c')
0 files changed, 0 insertions, 0 deletions