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:
parent
e2d397a9ef
commit
c124981b79
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user