diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-16 23:14:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-16 23:14:27 +0100 |
commit | 0b638b83c66d50482320000e125aa3701920d451 (patch) | |
tree | 528da33083a502b8ccb6bc0926e9c84fef511b7f | |
parent | 235782260da483bcbe0122bec846dd917e8362fb (diff) | |
download | ffmpeg-0b638b83c66d50482320000e125aa3701920d451.tar.gz |
avformat/mpc8: Add () to protect MKMPCTAG()s arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mpc8.c | 2 |
1 files changed, 1 insertions, 1 deletions
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') |