Add missing multiple inclusion guards.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26044 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-02-21 00:12:02 +00:00
parent 2fa781bcfe
commit 878e9ef324
5 changed files with 23 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */