Commit d501b986 authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/bayer_template: Add () to protect the argument of BAYER_READ()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0babb896
......@@ -36,12 +36,12 @@
#define BAYER_SHIFT 0
#endif
#if defined(BAYER_16LE)
#define BAYER_READ(x) AV_RL16(&x)
#define BAYER_READ(x) AV_RL16(&(x))
#define BAYER_SIZEOF 2
#define BAYER_SHIFT 8
#endif
#if defined(BAYER_16BE)
#define BAYER_READ(x) AV_RB16(&x)
#define BAYER_READ(x) AV_RB16(&(x))
#define BAYER_SIZEOF 2
#define BAYER_SHIFT 8
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment