Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavutil/cast5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/cast5.c b/libavutil/cast5.c
index 0bf8ae9929..e1d2c5cadd 100644
--- a/libavutil/cast5.c
+++ b/libavutil/cast5.c
@@ -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 {
\
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".