1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avutil/cast5: Avoid undefined shift of uint32_t by 32 places

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-11-08 00:24:25 +01:00
parent e2d397a9ef
commit c124981b79

View File

@ -32,7 +32,7 @@
#define IC(x) (((x) >> 8) & 0xff)
#define ID(x) ((x) & 0xff)
#define LR(x, c) (((x) << (c)) | ((x) >> (32 - (c))))
#define LR(x, c) (((x) << (c)) | ((x) >> ((32 - (c)) & 31)))
#define F3(l, r, i) \
do { \