OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0babb89
)
swscale/bayer_template: Add () to protect the argument of BAYER_READ()
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2015 00:55:15 +0000
(
01:55
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2015 00:55:15 +0000
(
01:55
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/bayer_template.c
patch
|
blob
|
history
diff --git
a/libswscale/bayer_template.c
b/libswscale/bayer_template.c
index
67ab2ae
..
1af1b60
100644
(file)
--- a/
libswscale/bayer_template.c
+++ b/
libswscale/bayer_template.c
@@
-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