diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/frequencies.h | 6 | ||||
-rw-r--r-- | stream/netstream.h | 5 | ||||
-rw-r--r-- | stream/stream_dvd.h | 5 | ||||
-rw-r--r-- | stream/stream_dvd_common.h | 5 |
4 files changed, 21 insertions, 0 deletions
diff --git a/stream/frequencies.h b/stream/frequencies.h index 13cf111f44..234a2adb86 100644 --- a/stream/frequencies.h +++ b/stream/frequencies.h @@ -5,6 +5,10 @@ * * Frequencies are given in kHz */ + +#ifndef FREQUENCIES_H +#define FREQUENCIES_H + #define NTSC_AUDIO_CARRIER 4500 #define PAL_AUDIO_CARRIER_I 6000 #define PAL_AUDIO_CARRIER_BGHN 5500 @@ -109,3 +113,5 @@ extern const struct CHANLISTS chanlists[]; extern int chantab; extern const struct CHANLIST *chanlist; extern int chancount; + +#endif /* FREQUENCIES_H */ diff --git a/stream/netstream.h b/stream/netstream.h index 61abfc8e8a..75fe94cdd5 100644 --- a/stream/netstream.h +++ b/stream/netstream.h @@ -7,6 +7,9 @@ * Data is always low endian */ +#ifndef NETSTREAM_H +#define NETSTREAM_H + typedef struct mp_net_stream_packet_st { uint16_t len; uint8_t cmd; @@ -134,3 +137,5 @@ static void net_stream_opened_2_me(mp_net_stream_opened_t* o) { o->start_pos = le2me_64(o->start_pos); o->end_pos = le2me_64(o->end_pos); } + +#endif /* NETSTREAM_H */ diff --git a/stream/stream_dvd.h b/stream/stream_dvd.h index 89987a88bd..020c45f8b7 100644 --- a/stream/stream_dvd.h +++ b/stream/stream_dvd.h @@ -1,3 +1,6 @@ +#ifndef STREAM_DVD_H +#define STREAM_DVD_H + #ifdef USE_DVDREAD_INTERNAL #include "dvdread/dvd_reader.h" #include "dvdread/ifo_types.h" @@ -44,3 +47,5 @@ int dvd_lang_from_sid(stream_t *stream, int id); int dvd_aid_from_lang(stream_t *stream, unsigned char* lang); int dvd_sid_from_lang(stream_t *stream, unsigned char* lang); int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell); + +#endif /* STREAM_DVD_H */ diff --git a/stream/stream_dvd_common.h b/stream/stream_dvd_common.h index ff3fc745f5..30a2a10fbc 100644 --- a/stream/stream_dvd_common.h +++ b/stream/stream_dvd_common.h @@ -1 +1,6 @@ +#ifndef STREAM_DVD_COMMON_H +#define STREAM_DVD_COMMON_H + int mp_dvdtimetomsec(dvd_time_t *dt); + +#endif /* STREAM_DVD_COMMON_H */ |