This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
swscale/bayer_template: Add () to protect the argument of BAYER_READ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
11 years ago
parent
0babb896b4
commit
d501b986a9
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libswscale/bayer_template.c
+ 2
- 2
libswscale/bayer_template.c
View File
@@ -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
Write
Preview
Loading…
Cancel
Save