changeset 2171:a6d6b2b19341 libavformat

include all prerequisites in header files
author mru
date Sat, 16 Jun 2007 22:59:13 +0000
parents 4452d75a9298
children 92f61ed53965
files allformats.h asf.h avio.h dv.h isom.h mpegts.h riff.h rtp.h rtp_h264.h rtp_internal.h rtsp.h
diffstat 11 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/allformats.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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;
--- a/asf.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/asf.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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 {
--- a/avio.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/avio.h	Sat Jun 16 22:59:13 2007 +0000
@@ -21,6 +21,8 @@
 #ifndef AVIO_H
 #define AVIO_H
 
+#include <stdint.h>
+
 /* output byte stream handling */
 
 typedef int64_t offset_t;
--- a/dv.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/dv.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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 *);
--- a/isom.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/isom.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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[];
--- a/mpegts.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/mpegts.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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
--- a/riff.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/riff.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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);
 
--- a/rtp.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/rtp.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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 */
 
--- a/rtp_h264.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/rtp_h264.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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 */
--- a/rtp_internal.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/rtp_internal.h	Sat Jun 16 22:59:13 2007 +0000
@@ -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
--- a/rtsp.h	Sat Jun 16 14:52:05 2007 +0000
+++ b/rtsp.h	Sat Jun 16 22:59:13 2007 +0000
@@ -21,6 +21,8 @@
 #ifndef RTSP_H
 #define RTSP_H
 
+#include <stdint.h>
+#include "avformat.h"
 #include "rtspcodes.h"
 
 enum RTSPProtocol {