diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-08 19:29:13 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-20 04:00:32 +0200 |
commit | dc0ace722b6f2071231a5a855c94239db6220266 (patch) | |
tree | 9940e4c005ca6dac1d5000d1b4d386b6f1a76310 /libavformat/webm_chunk.c | |
parent | e13e36f3224b2f90d604b457d25337655715bef7 (diff) | |
download | ffmpeg-dc0ace722b6f2071231a5a855c94239db6220266.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)
Diffstat (limited to 'libavformat/webm_chunk.c')
0 files changed, 0 insertions, 0 deletions