summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-05 23:32:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-05 23:32:01 +0000
commit67d7fb201568b6f9e081012a1faa1af0cc3d96cb (patch)
treefd3ccf5ae00a1bbfccb07cc67cfbee28639282d9 /libmpdemux
parent5d3c5c26f6b42561b043fccf9b87b4dc9c2b6093 (diff)
downloadmpv-67d7fb201568b6f9e081012a1faa1af0cc3d96cb.tar.bz2
mpv-67d7fb201568b6f9e081012a1faa1af0cc3d96cb.tar.xz
Add missing header #includes to fix 'make checkheaders'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26175 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_avs.h3
-rw-r--r--libmpdemux/demuxer.h5
-rw-r--r--libmpdemux/ebml.h1
-rw-r--r--libmpdemux/matroska.h2
-rw-r--r--libmpdemux/mp3_hdr.h2
-rw-r--r--libmpdemux/mpeg_packetizer.h2
-rw-r--r--libmpdemux/muxer.h6
-rw-r--r--libmpdemux/parse_es.h2
-rw-r--r--libmpdemux/stheader.h1
9 files changed, 24 insertions, 0 deletions
diff --git a/libmpdemux/demux_avs.h b/libmpdemux/demux_avs.h
index 49cb1d6131..29526d6964 100644
--- a/libmpdemux/demux_avs.h
+++ b/libmpdemux/demux_avs.h
@@ -24,6 +24,9 @@
#ifndef MPLAYER_DEMUX_AVS_H
#define MPLAYER_DEMUX_AVS_H
+#include <stdint.h>
+#include "loader/wine/windef.h"
+
enum { AVISYNTH_INTERFACE_VERSION = 2 };
enum
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h
index 3ee08e846a..6dabd77de9 100644
--- a/libmpdemux/demuxer.h
+++ b/libmpdemux/demuxer.h
@@ -1,6 +1,11 @@
#ifndef MPLAYER_DEMUXER_H
#define MPLAYER_DEMUXER_H
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "stream/stream.h"
#ifdef USE_ASS
#include "libass/ass_types.h"
#endif
diff --git a/libmpdemux/ebml.h b/libmpdemux/ebml.h
index 919fd526df..c4d7256d91 100644
--- a/libmpdemux/ebml.h
+++ b/libmpdemux/ebml.h
@@ -2,6 +2,7 @@
#define MPLAYER_EBML_H
#include <inttypes.h>
+#include "stream/stream.h"
/* EBML version supported */
diff --git a/libmpdemux/matroska.h b/libmpdemux/matroska.h
index ef610aab49..10026d23ac 100644
--- a/libmpdemux/matroska.h
+++ b/libmpdemux/matroska.h
@@ -7,6 +7,8 @@
#ifndef MPLAYER_MATROSKA_H
#define MPLAYER_MATROSKA_H
+#include "demuxer.h"
+
#define MKV_A_AAC_2MAIN "A_AAC/MPEG2/MAIN"
#define MKV_A_AAC_2LC "A_AAC/MPEG2/LC"
#define MKV_A_AAC_2SBR "A_AAC/MPEG2/LC/SBR"
diff --git a/libmpdemux/mp3_hdr.h b/libmpdemux/mp3_hdr.h
index d5aa70b651..3e6fb7f6bd 100644
--- a/libmpdemux/mp3_hdr.h
+++ b/libmpdemux/mp3_hdr.h
@@ -1,6 +1,8 @@
#ifndef MPLAYER_MP3_HDR_H
#define MPLAYER_MP3_HDR_H
+#include <stddef.h>
+
int mp_get_mp3_header(unsigned char* hbuf,int* chans, int* freq, int* spf, int* mpa_layer, int* br);
#define mp_decode_mp3_header(hbuf) mp_get_mp3_header(hbuf,NULL,NULL,NULL,NULL,NULL)
diff --git a/libmpdemux/mpeg_packetizer.h b/libmpdemux/mpeg_packetizer.h
index 5fb8de95c3..f9874c840a 100644
--- a/libmpdemux/mpeg_packetizer.h
+++ b/libmpdemux/mpeg_packetizer.h
@@ -25,6 +25,8 @@
#ifndef MPLAYER_MPEG_PACKETIZER_H
#define MPLAYER_MPEG_PACKETIZER_H
+#include <stdint.h>
+
/* Send MPEG <type> PES packet */
int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts,
int type, int my_write (const unsigned char *data, int len));
diff --git a/libmpdemux/muxer.h b/libmpdemux/muxer.h
index 3c22e140c2..68bdedcfd3 100644
--- a/libmpdemux/muxer.h
+++ b/libmpdemux/muxer.h
@@ -1,6 +1,12 @@
#ifndef MPLAYER_MUXER_H
#define MPLAYER_MUXER_H
+#include <stdint.h>
+#include <sys/types.h>
+#include "aviheader.h"
+#include "ms_hdr.h"
+#include "stream/stream.h"
+
#define MUXER_MAX_STREAMS 16
#define MUXER_TYPE_VIDEO 0
diff --git a/libmpdemux/parse_es.h b/libmpdemux/parse_es.h
index 9852701ee1..b562aff04e 100644
--- a/libmpdemux/parse_es.h
+++ b/libmpdemux/parse_es.h
@@ -1,6 +1,8 @@
#ifndef MPLAYER_PARSE_ES_H
#define MPLAYER_PARSE_ES_H
+#include "demuxer.h"
+
#define MAX_VIDEO_PACKET_SIZE (224*1024+4)
#define VIDEOBUFFER_SIZE 0x100000
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index 60bd34c005..91df2c057b 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -1,6 +1,7 @@
#ifndef MPLAYER_STHEADER_H
#define MPLAYER_STHEADER_H
+#include "demuxer.h"
#include "aviheader.h"
#include "ms_hdr.h"