diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-22 15:52:10 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-01 23:04:12 +0200 |
commit | d9e4783f0629cd99bcdd6a844a83015df3006b38 (patch) | |
tree | f1135d3838c849e6158a4bf03895e837a4377c23 /libavformat | |
parent | 68e67bb187657173354c233edd4db5f81ffdbf80 (diff) | |
download | ffmpeg-d9e4783f0629cd99bcdd6a844a83015df3006b38.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 'libavformat')
0 files changed, 0 insertions, 0 deletions