aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/iv8.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-08-02 22:29:16 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-08-05 19:34:33 +0200
commit34a40aeb73fef1f08eaf603d9770969795e85de8 (patch)
tree407de365f6d85e72337df8300ebfc2b3d18759ce /libavformat/iv8.c
parentd5cd7fe5af3ee2a3e835f3c020037670dd90620b (diff)
downloadffmpeg-34a40aeb73fef1f08eaf603d9770969795e85de8.tar.gz
libavcodec/iff: Use unsigned to avoid undefined behaviour
The initialization of the uint32_t plane32_lut matrix uses left shifts of the form 1 << plane; plane can be as big as 31 which means that this is undefined behaviour as 1 will be simply an int. So make it unsigned to avoid this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit f12e662a3d3f489eec887b5f2ab20a550caed9cf) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/iv8.c')
0 files changed, 0 insertions, 0 deletions