summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-16 22:59:13 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-16 22:59:13 +0000
commit99545457bf1175d55e4eaa2c061dbf0faeb661ec (patch)
treeff1d94f63fcf89833e7e6d9f421f35bd8d0ba2de /libavformat
parentc2d08dc0d78e85e6a45abb33e587b8a66a2de754 (diff)
downloadffmpeg-99545457bf1175d55e4eaa2c061dbf0faeb661ec.tar.gz
include all prerequisites in header files
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/allformats.h2
-rw-r--r--libavformat/asf.h4
-rw-r--r--libavformat/avio.h2
-rw-r--r--libavformat/dv.h2
-rw-r--r--libavformat/isom.h2
-rw-r--r--libavformat/mpegts.h2
-rw-r--r--libavformat/riff.h3
-rw-r--r--libavformat/rtp.h3
-rw-r--r--libavformat/rtp_h264.h2
-rw-r--r--libavformat/rtp_internal.h4
-rw-r--r--libavformat/rtsp.h2
11 files changed, 28 insertions, 0 deletions
diff --git a/libavformat/allformats.h b/libavformat/allformats.h
index 2185d36a94..fec5038580 100644
--- a/libavformat/allformats.h
+++ b/libavformat/allformats.h
@@ -22,6 +22,8 @@
#ifndef ALLFORMATS_H
#define ALLFORMATS_H
+#include "avformat.h"
+
extern AVInputFormat aac_demuxer;
extern AVInputFormat ac3_demuxer;
extern AVInputFormat aiff_demuxer;
diff --git a/libavformat/asf.h b/libavformat/asf.h
index 6d76ebecb2..3421a08962 100644
--- a/libavformat/asf.h
+++ b/libavformat/asf.h
@@ -17,6 +17,10 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#include <stdint.h>
+#include "avformat.h"
+
#define PACKET_SIZE 3200
typedef struct {
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 8e04545e28..8db657f282 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -21,6 +21,8 @@
#ifndef AVIO_H
#define AVIO_H
+#include <stdint.h>
+
/* output byte stream handling */
typedef int64_t offset_t;
diff --git a/libavformat/dv.h b/libavformat/dv.h
index 2fa30036cc..5bc12865e8 100644
--- a/libavformat/dv.h
+++ b/libavformat/dv.h
@@ -25,6 +25,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "avformat.h"
+
typedef struct DVDemuxContext DVDemuxContext;
DVDemuxContext* dv_init_demux(AVFormatContext* s);
int dv_get_packet(DVDemuxContext*, AVPacket *);
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 9fa49e7304..5370241288 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -24,6 +24,8 @@
#ifndef FFMPEG_ISOM_H
#define FFMPEG_ISOM_H
+#include "riff.h"
+
/* isom.c */
extern const AVCodecTag ff_mp4_obj_type[];
extern const AVCodecTag codec_movvideo_tags[];
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 771becbd4b..fc0fd11548 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "avformat.h"
+
#define TS_FEC_PACKET_SIZE 204
#define TS_DVHS_PACKET_SIZE 192
#define TS_PACKET_SIZE 188
diff --git a/libavformat/riff.h b/libavformat/riff.h
index cd2b85d85f..863aec10a3 100644
--- a/libavformat/riff.h
+++ b/libavformat/riff.h
@@ -28,6 +28,9 @@
#ifndef FF_RIFF_H
#define FF_RIFF_H
+#include "avcodec.h"
+#include "avio.h"
+
offset_t start_tag(ByteIOContext *pb, const char *tag);
void end_tag(ByteIOContext *pb, offset_t start);
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index fec7630517..dc91de5a56 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -21,6 +21,9 @@
#ifndef RTP_H
#define RTP_H
+#include "avcodec.h"
+#include "avformat.h"
+
#define RTP_MIN_PACKET_LENGTH 12
#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
diff --git a/libavformat/rtp_h264.h b/libavformat/rtp_h264.h
index 19508574db..f12809bc3c 100644
--- a/libavformat/rtp_h264.h
+++ b/libavformat/rtp_h264.h
@@ -22,5 +22,7 @@
#ifndef RTP_H264_H
#define RTP_H264_H
+#include "rtp_internal.h"
+
extern RTPDynamicProtocolHandler ff_h264_dynamic_handler;
#endif /* RTP_H264_H */
diff --git a/libavformat/rtp_internal.h b/libavformat/rtp_internal.h
index 3edcf49c8a..882098faba 100644
--- a/libavformat/rtp_internal.h
+++ b/libavformat/rtp_internal.h
@@ -23,6 +23,10 @@
#ifndef RTP_INTERNAL_H
#define RTP_INTERNAL_H
+#include <stdint.h>
+#include "avcodec.h"
+#include "rtp.h"
+
// these statistics are used for rtcp receiver reports...
typedef struct {
uint16_t max_seq; ///< highest sequence number seen
diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h
index ddf2448e26..3321440add 100644
--- a/libavformat/rtsp.h
+++ b/libavformat/rtsp.h
@@ -21,6 +21,8 @@
#ifndef RTSP_H
#define RTSP_H
+#include <stdint.h>
+#include "avformat.h"
#include "rtspcodes.h"
enum RTSPProtocol {