include all prerequisites in header files

Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2007-06-16 22:59:13 +00:00
parent c2d08dc0d7
commit 99545457bf
72 changed files with 180 additions and 0 deletions

View File

@@ -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;

View File

@@ -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 {

View File

@@ -21,6 +21,8 @@
#ifndef AVIO_H
#define AVIO_H
#include <stdint.h>
/* output byte stream handling */
typedef int64_t offset_t;

View File

@@ -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 *);

View File

@@ -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[];

View File

@@ -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

View File

@@ -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);

View File

@@ -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 */

View File

@@ -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 */

View File

@@ -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

View File

@@ -21,6 +21,8 @@
#ifndef RTSP_H
#define RTSP_H
#include <stdint.h>
#include "avformat.h"
#include "rtspcodes.h"
enum RTSPProtocol {