diff options
author | Andreas Rheinhardt <[email protected]> | 2020-01-22 02:05:10 +0100 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-04-02 21:38:21 +0200 |
commit | da4b64ea02c6bc7b91e79a9bb5d684288614401c (patch) | |
tree | f0b9f2f305c65e928606b8d71cbef8bf186f9df5 /libavformat/tls_mbedtls.c | |
parent | 9f011f0876b1bb1fba0f776539a98e71f5315dd6 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit 55b46902c1f855d02ea802de1285d68577a38806)
Diffstat (limited to 'libavformat/tls_mbedtls.c')
0 files changed, 0 insertions, 0 deletions