You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
swscale/bayer_template: Add () to protect the argument of BAYER_READ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -36,12 +36,12 @@
|
|||||||
#define BAYER_SHIFT 0
|
#define BAYER_SHIFT 0
|
||||||
#endif
|
#endif
|
||||||
#if defined(BAYER_16LE)
|
#if defined(BAYER_16LE)
|
||||||
#define BAYER_READ(x) AV_RL16(&x)
|
#define BAYER_READ(x) AV_RL16(&(x))
|
||||||
#define BAYER_SIZEOF 2
|
#define BAYER_SIZEOF 2
|
||||||
#define BAYER_SHIFT 8
|
#define BAYER_SHIFT 8
|
||||||
#endif
|
#endif
|
||||||
#if defined(BAYER_16BE)
|
#if defined(BAYER_16BE)
|
||||||
#define BAYER_READ(x) AV_RB16(&x)
|
#define BAYER_READ(x) AV_RB16(&(x))
|
||||||
#define BAYER_SIZEOF 2
|
#define BAYER_SIZEOF 2
|
||||||
#define BAYER_SHIFT 8
|
#define BAYER_SHIFT 8
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user