From 2e11268ea9812cec9ca334c8c0e825dcfb64bef9 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 1 Aug 2008 16:29:26 +0000 Subject: [PATCH] Add missing header #includes. Originally committed as revision 14497 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 1 + libavformat/ffm.h | 2 ++ libavformat/nut.h | 1 + libavformat/oggdec.h | 1 + libavformat/os_support.h | 2 ++ libavformat/raw.h | 1 + libavformat/rm.h | 1 + libavformat/rtp.h | 1 + libavformat/rtp_aac.h | 1 + libavformat/rtp_h264.h | 1 + libavformat/rtp_mpv.h | 1 + libavformat/swf.h | 1 + 12 files changed, 14 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index c6586862e9..529bf24cd7 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -35,6 +35,7 @@ #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) +#include #include #include /* FILE */ #include "libavcodec/avcodec.h" diff --git a/libavformat/ffm.h b/libavformat/ffm.h index 52a84094a8..1ede49a285 100644 --- a/libavformat/ffm.h +++ b/libavformat/ffm.h @@ -22,7 +22,9 @@ #ifndef FFMPEG_FFM_H #define FFMPEG_FFM_H +#include #include "avformat.h" +#include "avio.h" /* The FFM file is made of blocks of fixed size */ #define FFM_HEADER_SIZE 14 diff --git a/libavformat/nut.h b/libavformat/nut.h index 6acebc34b7..23ddcaaecb 100644 --- a/libavformat/nut.h +++ b/libavformat/nut.h @@ -22,6 +22,7 @@ #ifndef FFMPEG_NUT_H #define FFMPEG_NUT_H +#include //#include //#include "libavutil/adler32.h" //#include "libavcodec/mpegaudio.h" diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h index 4e88d0e393..09407d2ff6 100644 --- a/libavformat/oggdec.h +++ b/libavformat/oggdec.h @@ -25,6 +25,7 @@ #ifndef FFMPEG_OGGDEC_H #define FFMPEG_OGGDEC_H +#include #include "avformat.h" typedef struct ogg_codec { diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 34970e3952..4c32ad54a2 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -27,6 +27,8 @@ * miscellaneous OS support macros and functions. */ +#include "config.h" + #ifdef __MINGW32__ # define WIN32_LEAN_AND_MEAN # include diff --git a/libavformat/raw.h b/libavformat/raw.h index 3d851c829b..d83bf3ab0c 100644 --- a/libavformat/raw.h +++ b/libavformat/raw.h @@ -22,6 +22,7 @@ #ifndef FFMPEG_RAW_H #define FFMPEG_RAW_H +#include #include "avformat.h" int pcm_read_seek(AVFormatContext *s, diff --git a/libavformat/rm.h b/libavformat/rm.h index 2f7f8df2ee..0fea729123 100644 --- a/libavformat/rm.h +++ b/libavformat/rm.h @@ -22,6 +22,7 @@ #ifndef FFMPEG_RM_H #define FFMPEG_RM_H +#include #include "avformat.h" diff --git a/libavformat/rtp.h b/libavformat/rtp.h index 36affed420..1603471c7c 100644 --- a/libavformat/rtp.h +++ b/libavformat/rtp.h @@ -21,6 +21,7 @@ #ifndef FFMPEG_RTP_H #define FFMPEG_RTP_H +#include #include "libavcodec/avcodec.h" #include "avformat.h" diff --git a/libavformat/rtp_aac.h b/libavformat/rtp_aac.h index 24b41cc425..d4cbb59707 100644 --- a/libavformat/rtp_aac.h +++ b/libavformat/rtp_aac.h @@ -20,6 +20,7 @@ #ifndef FFMPEG_RTP_AAC_H #define FFMPEG_RTP_AAC_H +#include #include "avformat.h" void ff_rtp_send_aac(AVFormatContext *s1, const uint8_t *buff, int size); diff --git a/libavformat/rtp_h264.h b/libavformat/rtp_h264.h index 0f23e525cc..db23f79128 100644 --- a/libavformat/rtp_h264.h +++ b/libavformat/rtp_h264.h @@ -22,6 +22,7 @@ #ifndef FFMPEG_RTP_H264_H #define FFMPEG_RTP_H264_H +#include #include "rtp_internal.h" extern RTPDynamicProtocolHandler ff_h264_dynamic_handler; diff --git a/libavformat/rtp_mpv.h b/libavformat/rtp_mpv.h index 36e649a891..c17939bc9f 100644 --- a/libavformat/rtp_mpv.h +++ b/libavformat/rtp_mpv.h @@ -20,6 +20,7 @@ #ifndef FFMPEG_RTP_MPV_H #define FFMPEG_RTP_MPV_H +#include #include "avformat.h" void ff_rtp_send_mpegvideo(AVFormatContext *s1, const uint8_t *buf1, int size); diff --git a/libavformat/swf.h b/libavformat/swf.h index 8249f7ddf9..4ae2b90ef3 100644 --- a/libavformat/swf.h +++ b/libavformat/swf.h @@ -25,6 +25,7 @@ #include "libavutil/fifo.h" #include "avformat.h" +#include "avio.h" #include "riff.h" /* for CodecTag */ /* should have a generic way to indicate probable size */