diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-17 00:01:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-17 00:01:30 +0000 |
commit | 699b3f99d0376a8fd5159bdad857228bda59cff6 (patch) | |
tree | 5df6def799acb5cb1a19d85e770ceafdc4d088a4 /libavformat | |
parent | 99545457bf1175d55e4eaa2c061dbf0faeb661ec (diff) | |
download | ffmpeg-699b3f99d0376a8fd5159bdad857228bda59cff6.tar.gz |
add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asf.h | 5 | ||||
-rw-r--r-- | libavformat/dv.h | 5 | ||||
-rw-r--r-- | libavformat/mpegts.h | 5 | ||||
-rw-r--r-- | libavformat/nut.h | 5 | ||||
-rw-r--r-- | libavformat/rtspcodes.h | 4 |
5 files changed, 24 insertions, 0 deletions
diff --git a/libavformat/asf.h b/libavformat/asf.h index 3421a08962..6df02c24f1 100644 --- a/libavformat/asf.h +++ b/libavformat/asf.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVFORMAT_ASF_H +#define AVFORMAT_ASF_H + #include <stdint.h> #include "avformat.h" @@ -282,3 +285,5 @@ static const GUID my_guid = { #define ASF_PL_MASK_PAYLOAD_LENGTH_FIELD_SIZE 0xc0 //1100 0000 #define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000 + +#endif diff --git a/libavformat/dv.h b/libavformat/dv.h index 5bc12865e8..e7ad3d53b5 100644 --- a/libavformat/dv.h +++ b/libavformat/dv.h @@ -25,6 +25,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVFORMAT_DV_H +#define AVFORMAT_DV_H + #include "avformat.h" typedef struct DVDemuxContext DVDemuxContext; @@ -37,3 +40,5 @@ typedef struct DVMuxContext DVMuxContext; DVMuxContext* dv_init_mux(AVFormatContext* s); int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**); void dv_delete_mux(DVMuxContext*); + +#endif diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h index fc0fd11548..178988a994 100644 --- a/libavformat/mpegts.h +++ b/libavformat/mpegts.h @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVFORMAT_MPEGTS_H +#define AVFORMAT_MPEGTS_H + #include "avformat.h" #define TS_FEC_PACKET_SIZE 204 @@ -63,3 +66,5 @@ MpegTSContext *mpegts_parse_open(AVFormatContext *s); int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, const uint8_t *buf, int len); void mpegts_parse_close(MpegTSContext *ts); + +#endif diff --git a/libavformat/nut.h b/libavformat/nut.h index 1a4473789c..b18ac2dc0d 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -20,6 +20,9 @@ * */ +#ifndef AVFORMAT_NUT_H +#define AVFORMAT_NUT_H + //#include <limits.h> #include "avformat.h" #include "crc.h" @@ -95,3 +98,5 @@ typedef struct { static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){ return av_crc(av_crc04C11DB7, checksum, buf, len); } + +#endif diff --git a/libavformat/rtspcodes.h b/libavformat/rtspcodes.h index 74cfb5d5b9..8e3b326059 100644 --- a/libavformat/rtspcodes.h +++ b/libavformat/rtspcodes.h @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVFORMAT_RTSPCODES_H +#define AVFORMAT_RTSPCODES_H + /** RTSP handling */ enum RTSPStatusCode { RTSP_STATUS_OK =200, /**< OK */ @@ -34,3 +37,4 @@ RTSP_STATUS_SERVICE =503, /**< Service Unavailable */ RTSP_STATUS_VERSION =505, /**< RTSP Version not supported */ }; +#endif |