changeset 4933:429994672d8c

're-include' possibility
author nick
date Sun, 03 Mar 2002 18:47:29 +0000
parents d5280777c2f0
children 2a01a162266d
files libmpdemux/demuxer.h libmpdemux/stheader.h libvo/video_out.h mp_image.h
diffstat 4 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.h	Sun Mar 03 18:29:40 2002 +0000
+++ b/libmpdemux/demuxer.h	Sun Mar 03 18:47:29 2002 +0000
@@ -1,3 +1,5 @@
+#ifndef __DEMUXER_H
+#define __DEMUXER_H 1
 
 #define MAX_PACKS 4096
 #define MAX_PACK_BYTES 0x800000
@@ -190,3 +192,5 @@
 int demux_info_add(demuxer_t *demuxer, char *opt, char *param);
 char* demux_info_get(demuxer_t *demuxer, char *opt);
 int demux_info_print(demuxer_t *demuxer);
+
+#endif
--- a/libmpdemux/stheader.h	Sun Mar 03 18:29:40 2002 +0000
+++ b/libmpdemux/stheader.h	Sun Mar 03 18:47:29 2002 +0000
@@ -1,3 +1,6 @@
+#ifndef __ST_HEADER_H
+#define __ST_HEADER_H 1
+
 // Stream headers:
 
 #include "wine/mmreg.h"
@@ -79,3 +82,5 @@
 
 int video_read_properties(sh_video_t *sh_video);
 int video_read_frame(sh_video_t* sh_video,float* frame_time_ptr,unsigned char** start,int force_fps);
+
+#endif
--- a/libvo/video_out.h	Sun Mar 03 18:29:40 2002 +0000
+++ b/libvo/video_out.h	Sun Mar 03 18:47:29 2002 +0000
@@ -5,6 +5,9 @@
  *	Strongly modified, most parts rewritten: A'rpi/ESP-team - 2000-2001
  *
  */
+ 
+#ifndef __VIDEO_OUT_H
+#define __VIDEO_OUT_H 1
 
 #include <inttypes.h>
 #include <stdarg.h>
@@ -202,3 +205,4 @@
 
 extern char *vo_subdevice;
 
+#endif
--- a/mp_image.h	Sun Mar 03 18:29:40 2002 +0000
+++ b/mp_image.h	Sun Mar 03 18:47:29 2002 +0000
@@ -1,3 +1,5 @@
+#ifndef __MP_IMAGE_H
+#define __MP_IMAGE_H 1
 
 // set if buffer content shouldn't be modified:
 #define MP_IMGFLAG_PRESERVE 0x01
@@ -87,3 +89,5 @@
     mpi->height=mpi->h=h;
     return mpi;
 }
+
+#endif