]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/bayer_template.c
Merge commit '96084251e57d1738fde02a2b0d37ca609d9efd71'
[ffmpeg] / libswscale / bayer_template.c
index 67ab2aee09d47050ac2c871c4198f2b8bf0ef407..1af1b6056e2155e8b2ce41cb2436a624d3dc1699 100644 (file)
 #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