1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavutil
Andreas Rheinhardt ebd25a5ba5 avutil/common: Fix undefined shift
av_mod_uintp2_c uses a bitwise AND with (1 << p) - 1 to clear the high
bits of an unsigned int. But this is undefined if p == 31, because 1 is
an int and 2^31 is not representable in an int. So make 1 unsigned.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-09-18 22:53:00 +02:00
..
2018-09-14 21:36:21 +02:00
2019-09-18 22:53:00 +02:00
2017-12-24 22:02:41 +01:00
2017-12-24 22:02:41 +01:00
2018-09-12 19:15:09 +02:00
2018-09-12 19:15:09 +02:00
2019-07-07 19:19:26 +01:00
2018-04-26 19:50:29 +02:00
2017-11-05 22:13:16 +01:00
2017-10-23 11:56:15 +02:00