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
1 changed files with 1 additions and 1 deletions

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 { \