summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/spuenc.h5
-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
5 files changed, 23 insertions, 0 deletions
diff --git a/libvo/spuenc.h b/libvo/spuenc.h
index 5c052d1be5..40692fbfab 100644
--- a/libvo/spuenc.h
+++ b/libvo/spuenc.h
@@ -19,6 +19,9 @@
*
*/
+#ifndef SPUENC_H
+#define SPUENC_H
+
#include <stdlib.h>
#define DATASIZE 53220
@@ -38,3 +41,5 @@ typedef struct {
void pixbuf_encode_rle(int x, int y, int w, int h, char *inbuf, int stride, encodedata *ed);
void pixbuf_delete(pixbuf* pb);
+
+#endif /* SPUENC_H */
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 */