diff options
author | Andreas Rheinhardt <[email protected]> | 2019-08-02 22:29:16 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2019-11-11 20:18:47 +0100 |
commit | 29381c66b243d9d513099189691559b4b2bc56f0 (patch) | |
tree | d6d794b90caa15ee5452078a9973433a68af684c /libavcodec/qsv_api.c | |
parent | 56a24691045de60a6ff7284aa793fa9e862c09ac (diff) |
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 <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit f12e662a3d3f489eec887b5f2ab20a550caed9cf)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/qsv_api.c')
0 files changed, 0 insertions, 0 deletions