Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/cast5.c2
1 files changed, 1 insertions, 1 deletions
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 { \