diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-08 19:29:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-03 13:10:42 +0200 |
commit | e40aff3fdb171b21b8a4c4dc7cbcde7aa4b92452 (patch) | |
tree | 427c27d400c5dde003f7f8fa507511f7b1482e93 /libavfilter/vf_geq.c | |
parent | 3a4be74dcd3226dd823574d1bfb5037674df0e4d (diff) | |
download | ffmpeg-e40aff3fdb171b21b8a4c4dc7cbcde7aa4b92452.tar.gz |
avcodec/proresenc_anatoliy: Fix invalid left shift of negative number
This fixes ticket #7997 as well as the vsynth*-prores_# FATE-tests
(where * ranges over { 1, 2, 3, _lena } and # over { , _int, _444,
_444_int }).
(Given that prev_dc is in the range -0xC000..0x3FFF, no overflow can
happen upon multiplication with 2.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 198081efb7c7343349f0a7acc836f001c511e990)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/vf_geq.c')
0 files changed, 0 insertions, 0 deletions