1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 29381c66b2 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>
2019-11-11 20:18:47 +01:00
..
2019-11-11 20:18:46 +01:00
2018-05-01 21:22:03 +02:00
2018-02-09 22:10:56 +01:00
2017-10-03 19:47:37 -03:00
2019-11-11 20:18:46 +01:00
2018-04-20 01:53:41 +02:00
2017-11-09 19:49:32 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-03-29 00:05:52 -03:00
2018-01-05 03:35:48 +01:00
2017-10-03 19:47:37 -03:00
2018-06-15 22:31:13 +02:00
2019-11-11 20:18:45 +01:00
2017-09-16 19:55:03 +02:00
2019-11-11 20:18:46 +01:00
2017-08-30 12:13:01 +02:00
2017-12-10 14:43:01 +01:00
2018-02-24 17:06:31 +01:00
2017-12-11 00:42:26 -03:00
2019-11-11 20:18:46 +01:00
2017-10-03 19:47:37 -03:00
2017-10-03 19:47:37 -03:00
2019-03-21 10:42:52 +01:00
2018-01-03 13:00:06 -05:00
2018-03-29 00:05:52 -03:00
2018-03-29 00:05:52 -03:00
2019-11-11 20:18:46 +01:00
2017-12-19 23:22:35 +00:00
2017-08-07 13:09:41 +02:00
2018-03-07 22:26:53 +01:00
2017-09-22 01:33:22 +02:00
2018-02-24 04:50:55 +01:00
2019-11-11 20:18:46 +01:00
2019-03-21 10:42:51 +01:00
2019-11-11 20:18:46 +01:00
2017-10-04 23:14:37 +01:00
2019-03-21 10:42:51 +01:00
2018-02-21 23:38:30 +00:00
2018-02-21 23:38:30 +00:00
2019-11-11 20:18:46 +01:00
2017-12-19 23:21:59 +00:00
2019-11-11 20:18:47 +01:00
2017-12-19 23:21:59 +00:00
2017-09-22 01:33:22 +02:00
2017-10-03 19:47:37 -03:00
2019-03-21 10:42:52 +01:00