Files
ffmpeg/libavcodec
Mark Thompson 0e782661d6 cbs_h264: Fix overflow in shifts
The type of the result of a shift operation is unaffected by the type of
the right operand, so some existing code overflows with undefined behaviour
when the element length is 32.  Add a helper macro to calculate the maximum
value correctly and then use it everywhere this pattern appears.

Found-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
2018-03-18 17:54:55 +00:00
..
2018-03-07 22:26:53 +01:00
2018-02-09 22:10:56 +01:00
2018-02-24 17:06:31 +01:00
2018-02-24 17:06:31 +01:00
2018-01-05 03:35:48 +01: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
2018-02-21 23:38:10 +00:00
2017-12-10 14:43:01 +01:00
2018-02-27 16:22:12 +01:00
2018-01-03 13:00:06 -05:00
2018-03-07 22:26:53 +01:00
2017-12-19 23:22:35 +00:00
2018-03-07 22:26:53 +01:00
2018-02-24 04:50:55 +01:00
2018-02-21 23:38:30 +00:00
2018-02-21 23:38:30 +00:00
2017-12-19 23:21:59 +00:00
2017-12-19 23:21:59 +00:00