diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-10-17 09:31:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-10-17 09:31:06 +0000 |
commit | 31b2c1446f7cc7c10f217093f695edfc1b1be498 (patch) | |
tree | c7f96030dc8545b85ce5c91d20c698031a5a8d9d /libavcodec/colorspace.h | |
parent | ca34b9e61551506aab28a0839999d6caa05dcece (diff) | |
download | ffmpeg-31b2c1446f7cc7c10f217093f695edfc1b1be498.tar.gz |
Add missing multiple inclusion guards.
Originally committed as revision 10763 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/colorspace.h')
-rw-r--r-- | libavcodec/colorspace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/colorspace.h b/libavcodec/colorspace.h index 7d0a6274ba..9d89d6daa4 100644 --- a/libavcodec/colorspace.h +++ b/libavcodec/colorspace.h @@ -24,6 +24,9 @@ * Various defines for YUV<->RGB conversion */ +#ifndef FFMPEG_COLORSPACE_H +#define FFMPEG_COLORSPACE_H + #define SCALEBITS 10 #define ONE_HALF (1 << (SCALEBITS - 1)) #define FIX(x) ((int) ((x) * (1<<SCALEBITS) + 0.5)) @@ -105,3 +108,4 @@ static inline int C_JPEG_TO_CCIR(int y) { (((FIX(0.50000*224.0/255.0) * r1 - FIX(0.41869*224.0/255.0) * g1 - \ FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) +#endif /* FFMPEG_COLORSPACE_H */ |