# HG changeset patch # User mru # Date 1182034753 0 # Node ID a6d6b2b193416ffe575c6c3cf815069926f2a66d # Parent 4452d75a9298c1d4ffc53a87b3666f103e681222 include all prerequisites in header files diff -r 4452d75a9298 -r a6d6b2b19341 allformats.h --- 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; diff -r 4452d75a9298 -r a6d6b2b19341 asf.h --- 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 +#include "avformat.h" + #define PACKET_SIZE 3200 typedef struct { diff -r 4452d75a9298 -r a6d6b2b19341 avio.h --- 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 + /* output byte stream handling */ typedef int64_t offset_t; diff -r 4452d75a9298 -r a6d6b2b19341 dv.h --- 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 *); diff -r 4452d75a9298 -r a6d6b2b19341 isom.h --- 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[]; diff -r 4452d75a9298 -r a6d6b2b19341 mpegts.h --- 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 diff -r 4452d75a9298 -r a6d6b2b19341 riff.h --- 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); diff -r 4452d75a9298 -r a6d6b2b19341 rtp.h --- 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 */ diff -r 4452d75a9298 -r a6d6b2b19341 rtp_h264.h --- 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 */ diff -r 4452d75a9298 -r a6d6b2b19341 rtp_internal.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 +#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 -r 4452d75a9298 -r a6d6b2b19341 rtsp.h --- 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 +#include "avformat.h" #include "rtspcodes.h" enum RTSPProtocol {