avformat/mpc8: Add () to protect MKMPCTAG()s arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-16 23:14:27 +01:00
parent 235782260d
commit 0b638b83c6
1 changed files with 1 additions and 1 deletions

View File

@ -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')