]> git.sesse.net Git - ffmpeg/commit
avfilter/vf_paletteuse: Fix left shift outside of range of int
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 22 Jan 2020 00:47:21 +0000 (01:47 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 28 Mar 2021 16:47:15 +0000 (18:47 +0200)
commit797c2ecc8fca65721b79637073df0a31fe31c463
tree33a4418fea7739b23d9c30e500b1e6d6784d0795
parent55b46902c1f855d02ea802de1285d68577a38806
avfilter/vf_paletteuse: Fix left shift outside of range of int

by keeping the variable uint32_t which in this situation is the natural
type anyway. This affected the FATE-test filter-paletteuse-sierra2_4a.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/vf_paletteuse.c