changeset 26143:268ecf0e1ba4

Add missing header #includes to fix 'make checkheaders'.
author diego
date Wed, 05 Mar 2008 23:32:01 +0000
parents 9c5f34c370a7
children d3ebf0c72e28
files libmpdemux/demux_avs.h libmpdemux/demuxer.h libmpdemux/ebml.h libmpdemux/matroska.h libmpdemux/mp3_hdr.h libmpdemux/mpeg_packetizer.h libmpdemux/muxer.h libmpdemux/parse_es.h libmpdemux/stheader.h
diffstat 9 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_avs.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/demux_avs.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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
--- a/libmpdemux/demuxer.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/demuxer.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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
--- a/libmpdemux/ebml.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/ebml.h	Wed Mar 05 23:32:01 2008 +0000
@@ -2,6 +2,7 @@
 #define MPLAYER_EBML_H
 
 #include <inttypes.h>
+#include "stream/stream.h"
 
 
 /* EBML version supported */
--- a/libmpdemux/matroska.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/matroska.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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"
--- a/libmpdemux/mp3_hdr.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/mp3_hdr.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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)
--- a/libmpdemux/mpeg_packetizer.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/mpeg_packetizer.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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));
--- a/libmpdemux/muxer.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/muxer.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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
--- a/libmpdemux/parse_es.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/parse_es.h	Wed Mar 05 23:32:01 2008 +0000
@@ -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
 
--- a/libmpdemux/stheader.h	Wed Mar 05 23:04:27 2008 +0000
+++ b/libmpdemux/stheader.h	Wed Mar 05 23:32:01 2008 +0000
@@ -1,6 +1,7 @@
 #ifndef MPLAYER_STHEADER_H
 #define MPLAYER_STHEADER_H
 
+#include "demuxer.h"
 #include "aviheader.h"
 #include "ms_hdr.h"