summaryrefslogtreecommitdiffstats
path: root/libavcodec/cook_parser.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2019-08-02 22:29:16 +0200
committerMichael Niedermayer <[email protected]>2020-01-06 11:30:42 +0100
commitf482c38273869fc8cd85b4249b48056d2cdb7348 (patch)
treed1128a97b417a8f6e05594271c5a015ced485fc6 /libavcodec/cook_parser.c
parent0d019e23796d3dd57aadfb69aed73ac5cea9becd (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/cook_parser.c')
0 files changed, 0 insertions, 0 deletions