[MPlayer-cvslog] r26044 - in trunk: libvo/spuenc.h stream/tvi_def.h stream/vcd_read.h stream/vcd_read_darwin.h stream/vcd_read_fbsd.h

diego subversion at mplayerhq.hu
Thu Feb 21 01:12:02 CET 2008


Author: diego
Date: Thu Feb 21 01:12:02 2008
New Revision: 26044

Log:
Add missing multiple inclusion guards.


Modified:
   trunk/libvo/spuenc.h
   trunk/stream/tvi_def.h
   trunk/stream/vcd_read.h
   trunk/stream/vcd_read_darwin.h
   trunk/stream/vcd_read_fbsd.h

Modified: trunk/libvo/spuenc.h
==============================================================================
--- trunk/libvo/spuenc.h	(original)
+++ trunk/libvo/spuenc.h	Thu Feb 21 01:12:02 2008
@@ -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 */

Modified: trunk/stream/tvi_def.h
==============================================================================
--- trunk/stream/tvi_def.h	(original)
+++ trunk/stream/tvi_def.h	Thu Feb 21 01:12:02 2008
@@ -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
         memset(buffer,0xC0,len);
     }
 }
+
+#endif /* TVI_DEF_H */

Modified: trunk/stream/vcd_read.h
==============================================================================
--- trunk/stream/vcd_read.h	(original)
+++ trunk/stream/vcd_read.h	Thu Feb 21 01:12:02 2008
@@ -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* v
 #error vcd is not yet supported on this arch...
 
 #endif
+
+#endif /* VCD_READ_H */

Modified: trunk/stream/vcd_read_darwin.h
==============================================================================
--- trunk/stream/vcd_read_darwin.h	(original)
+++ trunk/stream/vcd_read_darwin.h	Thu Feb 21 01:12:02 2008
@@ -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,c
       return VCD_SECTOR_DATA;
 }
 
+#endif /* VCD_READ_DARWIN_H */

Modified: trunk/stream/vcd_read_fbsd.h
==============================================================================
--- trunk/stream/vcd_read_fbsd.h	(original)
+++ trunk/stream/vcd_read_fbsd.h	Thu Feb 21 01:12:02 2008
@@ -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 */



More information about the MPlayer-cvslog mailing list