summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-21 00:12:02 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-02-21 00:12:02 +0000
commit878e9ef32496ffe77870105b382d7cd79ebc1e98 (patch)
tree9f2674a1a9f3f6cb028fef03ac4325193f5031fd /stream
parent2fa781bcfefbf403d9f3e6a0b7ebf62517ff1f51 (diff)
downloadmpv-878e9ef32496ffe77870105b382d7cd79ebc1e98.tar.bz2
mpv-878e9ef32496ffe77870105b382d7cd79ebc1e98.tar.xz
Add missing multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_def.h5
-rw-r--r--stream/vcd_read.h5
-rw-r--r--stream/vcd_read_darwin.h4
-rw-r--r--stream/vcd_read_fbsd.h4
4 files changed, 18 insertions, 0 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h
index 9682b56f13..19a9d9d08a 100644
--- a/stream/tvi_def.h
+++ b/stream/tvi_def.h
@@ -1,3 +1,6 @@
+#ifndef TVI_DEF_H
+#define TVI_DEF_H
+
#include <stdlib.h> /* malloc */
#include <string.h> /* memset */
@@ -103,3 +106,5 @@ static inline void fill_blank_frame(char* buffer,int len,int fmt){
memset(buffer,0xC0,len);
}
}
+
+#endif /* TVI_DEF_H */
diff --git a/stream/vcd_read.h b/stream/vcd_read.h
index 587a783f19..b7bb379b7d 100644
--- a/stream/vcd_read.h
+++ b/stream/vcd_read.h
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_H
+#define VCD_READ_H
+
#include "libavutil/intreadwrite.h"
//=================== VideoCD ==========================
#if defined(linux) || defined(sun) || defined(__bsdi__)
@@ -221,3 +224,5 @@ static int sun_vcd_read(mp_vcd_priv_t* vcd, int *offset)
#error vcd is not yet supported on this arch...
#endif
+
+#endif /* VCD_READ_H */
diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h
index 64f526c19b..85076d46cd 100644
--- a/stream/vcd_read_darwin.h
+++ b/stream/vcd_read_darwin.h
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_DARWIN_H
+#define VCD_READ_DARWIN_H
+
#include <sys/types.h>
#include <CoreFoundation/CFBase.h>
#include <IOKit/IOKitLib.h>
@@ -200,3 +203,4 @@ static int vcd_read(mp_vcd_priv_t* vcd,char *mem)
return VCD_SECTOR_DATA;
}
+#endif /* VCD_READ_DARWIN_H */
diff --git a/stream/vcd_read_fbsd.h b/stream/vcd_read_fbsd.h
index fc2103ed20..3b061b9121 100644
--- a/stream/vcd_read_fbsd.h
+++ b/stream/vcd_read_fbsd.h
@@ -1,3 +1,6 @@
+#ifndef VCD_READ_FBSD_H
+#define VCD_READ_FBSD_H
+
#include <sys/types.h>
#include <inttypes.h>
#include "libavutil/intreadwrite.h"
@@ -230,3 +233,4 @@ vcd_read(mp_vcd_priv_t* vcd, char *mem)
return VCD_SECTOR_DATA;
}
+#endif /* VCD_READ_FBSD_H */