diff colorspace.h @ 5828:1876bc447aa4 libavcodec

Add missing multiple inclusion guards.
author diego
date Wed, 17 Oct 2007 09:31:06 +0000
parents dfa6e7fa2bac
children c4a4495715dd
line wrap: on
line diff
--- a/colorspace.h	Wed Oct 17 09:21:52 2007 +0000
+++ b/colorspace.h	Wed Oct 17 09:31:06 2007 +0000
@@ -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 @@
 (((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 */