diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-22 02:05:10 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-03-28 18:45:20 +0200 |
commit | 55b46902c1f855d02ea802de1285d68577a38806 (patch) | |
tree | d945701257b5b4a4a7bbec469b94aa3d9507b547 /libavfilter/vf_paletteuse.c | |
parent | a42c47b77feda837a966aa96569ed8a2553b1c36 (diff) | |
download | ffmpeg-55b46902c1f855d02ea802de1285d68577a38806.tar.gz |
avfilter/asrc_sine: Fix invalid left shift of negative number
by using a multiplication instead. The multiplication can never overflow
an int because the sin-factor is only an int16_t.
Affected the FATE-tests filter-concat and filter-concat-vfr.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_paletteuse.c')
0 files changed, 0 insertions, 0 deletions