From 0b638b83c66d50482320000e125aa3701920d451 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 16 Feb 2015 23:14:27 +0100 Subject: [PATCH] avformat/mpc8: Add () to protect MKMPCTAG()s arguments Signed-off-by: Michael Niedermayer --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index 0015fe4942..0cef65ff7d 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -27,7 +27,7 @@ #include "avio_internal.h" /// Two-byte MPC tag -#define MKMPCTAG(a, b) (a | (b << 8)) +#define MKMPCTAG(a, b) ((a) | ((b) << 8)) #define TAG_MPCK MKTAG('M','P','C','K')