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
path: root/compat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-18 03:39:57 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-02-18 03:49:35 +0300
commit0babb896b4352e48bd2157f7ef08b341f55f2d91 (patch)
tree7c7c519a7a19c45fa3b9d5edfbec8f0faf717225 /compat
parentb7c19aee6c86f6924f83a8e2a7b087b8ea6c00fa (diff)
compat/avisynth/windowsPorts/windows2linux: Add () to protect macro arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'compat')
-rw-r--r--compat/avisynth/windowsPorts/windows2linux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/avisynth/windowsPorts/windows2linux.h b/compat/avisynth/windowsPorts/windows2linux.h
index 5476afe847..7cf4600266 100644
--- a/compat/avisynth/windowsPorts/windows2linux.h
+++ b/compat/avisynth/windowsPorts/windows2linux.h
@@ -52,8 +52,8 @@ namespace avxsynth {
//
// Functions
//
-#define MAKEDWORD(a,b,c,d) ((a << 24) | (b << 16) | (c << 8) | (d))
-#define MAKEWORD(a,b) ((a << 8) | (b))
+#define MAKEDWORD(a,b,c,d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
+#define MAKEWORD(a,b) (((a) << 8) | (b))
#define lstrlen strlen
#define lstrcpy strcpy