]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm: Fix undefined left shifts of negative numbers
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 20 Jan 2020 15:56:55 +0000 (16:56 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 21 Jan 2020 09:01:46 +0000 (10:01 +0100)
commit3ad8af51b7c0a968ac3fd62964780d4ff9136c5a
tree79a9ba05010fd9dfed7362ceb580cc018a9ad8aa
parent19f75e77870ac8bca06d379c2ac2c3d652e6d08b
avcodec/adpcm: Fix undefined left shifts of negative numbers

Affected the adpcm-afc, adpcm-ea-1, adpcm-ea-2, adpcm-ea-maxis-xa,
adpcm-thp and ea-cdata FATE-tests. Also fixes ticket #8487.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/adpcm.c