aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-11 22:19:48 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-11 22:19:48 +0000
commit6a5d31ac25f55248af5725287833d007ff78b188 (patch)
tree38b495992e3e320f4cb83d99b725714b7b2d616c /libavformat
parent7b04b8a0578a29f6403a8da74a94d1015c51c7ab (diff)
downloadffmpeg-6a5d31ac25f55248af5725287833d007ff78b188.tar.gz
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/4xm.c1
-rw-r--r--libavformat/ape.c1
-rw-r--r--libavformat/avc.c2
-rw-r--r--libavformat/bethsoftvid.c1
-rw-r--r--libavformat/bfi.c1
-rw-r--r--libavformat/dsicin.c1
-rw-r--r--libavformat/dxa.c1
-rw-r--r--libavformat/electronicarts.c1
-rw-r--r--libavformat/ffmdec.c1
-rw-r--r--libavformat/ffmenc.c1
-rw-r--r--libavformat/flic.c1
-rw-r--r--libavformat/idcin.c1
-rw-r--r--libavformat/idroq.c1
-rw-r--r--libavformat/iff.c1
-rw-r--r--libavformat/ipmovie.c1
-rw-r--r--libavformat/lmlm4.c1
-rw-r--r--libavformat/matroskadec.c1
-rw-r--r--libavformat/matroskaenc.c1
-rw-r--r--libavformat/mm.c1
-rw-r--r--libavformat/mov.c1
-rw-r--r--libavformat/mpegts.c1
-rw-r--r--libavformat/mpegtsenc.c1
-rw-r--r--libavformat/nutdec.c1
-rw-r--r--libavformat/nutenc.c1
-rw-r--r--libavformat/nuv.c2
-rw-r--r--libavformat/psxstr.c1
-rw-r--r--libavformat/rl2.c1
-rw-r--r--libavformat/rmdec.c1
-rw-r--r--libavformat/rtsp.c1
-rw-r--r--libavformat/segafilm.c1
-rw-r--r--libavformat/sierravmd.c1
-rw-r--r--libavformat/siff.c1
-rw-r--r--libavformat/smacker.c1
-rw-r--r--libavformat/swfdec.c1
-rw-r--r--libavformat/thp.c2
-rw-r--r--libavformat/txd.c1
-rw-r--r--libavformat/vc1test.c1
-rw-r--r--libavformat/vocdec.c1
-rw-r--r--libavformat/wc3movie.c1
-rw-r--r--libavformat/westwood.c1
-rw-r--r--libavformat/wv.c2
-rw-r--r--libavformat/xa.c1
42 files changed, 44 insertions, 2 deletions
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index f5a8a7e77d..c792a776ef 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
@@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define RIFF_TAG MKTAG('R', 'I', 'F', 'F')
diff --git a/libavformat/ape.c b/libavformat/ape.c
index 5ab92b10e1..34b1d14b21 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -22,6 +22,7 @@
#include <stdio.h>
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define ENABLE_DEBUG 0
diff --git a/libavformat/avc.c b/libavformat/avc.c
index 0c180c86b7..df95bd0633 100644
--- a/libavformat/avc.c
+++ b/libavformat/avc.c
@@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c
index a80b105e2c..7fcf65143a 100644
--- a/libavformat/bethsoftvid.c
+++ b/libavformat/bethsoftvid.c
@@ -27,6 +27,7 @@
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "libavcodec/bethsoftvideo.h"
diff --git a/libavformat/bfi.c b/libavformat/bfi.c
index c6efdd47e0..b08d166f65 100644
--- a/libavformat/bfi.c
+++ b/libavformat/bfi.c
@@ -26,6 +26,7 @@
* @sa http://wiki.multimedia.cx/index.php?title=BFI
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
typedef struct BFIContext {
diff --git a/libavformat/dsicin.c b/libavformat/dsicin.c
index 945bacbb47..8e486518db 100644
--- a/libavformat/dsicin.c
+++ b/libavformat/dsicin.c
@@ -24,6 +24,7 @@
* Delphine Software International CIN file demuxer
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
diff --git a/libavformat/dxa.c b/libavformat/dxa.c
index 18fb5296cb..1ff44cfd56 100644
--- a/libavformat/dxa.c
+++ b/libavformat/dxa.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 2eb586895e..96345cc1f4 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -25,6 +25,7 @@
* by Robin Kay (komadori at gekkou.co.uk)
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define SCHl_TAG MKTAG('S', 'C', 'H', 'l')
diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 345e62e6a3..fd859552d3 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "ffm.h"
#ifdef CONFIG_FFSERVER
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c
index 80ec872553..4bb28e23e8 100644
--- a/libavformat/ffmenc.c
+++ b/libavformat/ffmenc.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "ffm.h"
diff --git a/libavformat/flic.c b/libavformat/flic.c
index 62ea94ef63..7867f9c083 100644
--- a/libavformat/flic.c
+++ b/libavformat/flic.c
@@ -31,6 +31,7 @@
* handles special FLIs from the PC game "Magic Carpet".
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define FLIC_FILE_MAGIC_1 0xAF11
diff --git a/libavformat/idcin.c b/libavformat/idcin.c
index 55ad28b080..a0361899b5 100644
--- a/libavformat/idcin.c
+++ b/libavformat/idcin.c
@@ -68,6 +68,7 @@
* transmitting them to the video decoder
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define HUFFMAN_TABLE_SIZE (64 * 1024)
diff --git a/libavformat/idroq.c b/libavformat/idroq.c
index acf2db6c1c..0326140308 100644
--- a/libavformat/idroq.c
+++ b/libavformat/idroq.c
@@ -27,6 +27,7 @@
* http://www.csse.monash.edu.au/~timf/
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define RoQ_MAGIC_NUMBER 0x1084
diff --git a/libavformat/iff.c b/libavformat/iff.c
index e5158f68b4..035477988d 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -27,6 +27,7 @@
* http://wiki.multimedia.cx/index.php?title=IFF
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define ID_8SVX MKTAG('8','S','V','X')
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c
index 35c61ded9d..71bae337f7 100644
--- a/libavformat/ipmovie.c
+++ b/libavformat/ipmovie.c
@@ -32,6 +32,7 @@
* up and sending out the chunks.
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
/* debugging support: #define DEBUG_IPMOVIE as non-zero to see extremely
diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c
index 7f01124ad0..dc0a90125a 100644
--- a/libavformat/lmlm4.c
+++ b/libavformat/lmlm4.c
@@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define LMLM4_I_FRAME 0x00
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 6478d8484a..710214284b 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -36,6 +36,7 @@
#include "matroska.h"
#include "libavcodec/mpeg4audio.h"
#include "libavutil/intfloat_readwrite.h"
+#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "libavutil/lzo.h"
#ifdef CONFIG_ZLIB
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index a2d7347cba..44c23a4057 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -24,6 +24,7 @@
#include "isom.h"
#include "matroska.h"
#include "avc.h"
+#include "libavutil/intreadwrite.h"
#include "libavutil/md5.h"
#include "libavcodec/xiph.h"
#include "libavcodec/mpeg4audio.h"
diff --git a/libavformat/mm.c b/libavformat/mm.c
index 347d8ebac2..c6467e1396 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -31,6 +31,7 @@
* http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define MM_PREAMBLE_SIZE 6
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 159589b871..94bc1014f7 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -23,6 +23,7 @@
//#define DEBUG
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"
#include "isom.h"
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 00ce336eb1..ac7737eaa0 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -20,6 +20,7 @@
*/
#include "libavutil/crc.h"
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "mpegts.h"
#include "internal.h"
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index fadbb0c591..0e892e99d8 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/bswap.h"
#include "libavutil/crc.h"
#include "avformat.h"
#include "mpegts.h"
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 098bc84079..5bcc44df2c 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -21,6 +21,7 @@
*/
#include "libavutil/avstring.h"
+#include "libavutil/bswap.h"
#include "libavutil/tree.h"
#include "nut.h"
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 54d4b070f8..edcb2c7219 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "libavutil/tree.h"
#include "libavcodec/mpegaudiodata.h"
#include "nut.h"
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 7a01e68074..747f2384c7 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"
diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c
index 469a2c40c5..583b87fa62 100644
--- a/libavformat/psxstr.c
+++ b/libavformat/psxstr.c
@@ -29,6 +29,7 @@
* RIFF headers, followed by CD sectors.
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define RIFF_TAG MKTAG('R', 'I', 'F', 'F')
diff --git a/libavformat/rl2.c b/libavformat/rl2.c
index 5bab85b331..fd211bfabb 100644
--- a/libavformat/rl2.c
+++ b/libavformat/rl2.c
@@ -33,6 +33,7 @@
* optional background_frame
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define EXTRADATA1_SIZE (6 + 256 * 3) ///< video base, clr, palette
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index fc066dfa40..de81446f5c 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -20,6 +20,7 @@
*/
#include "libavutil/avstring.h"
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "rm.h"
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 77ada043a7..82e025f7d7 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -23,6 +23,7 @@
#define _SVID_SOURCE
#include "libavutil/avstring.h"
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include <sys/time.h>
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 1ec8c28685..462d658bf8 100644
--- a/libavformat/segafilm.c
+++ b/libavformat/segafilm.c
@@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define FILM_TAG MKBETAG('F', 'I', 'L', 'M')
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 1e15a228c0..83262f8f1a 100644
--- a/libavformat/sierravmd.c
+++ b/libavformat/sierravmd.c
@@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define VMD_HEADER_SIZE 0x0330
diff --git a/libavformat/siff.c b/libavformat/siff.c
index 63fe80dadb..9e6c85da3e 100644
--- a/libavformat/siff.c
+++ b/libavformat/siff.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
enum SIFFTags{
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index 3aa08bda1a..eeab64f0b1 100644
--- a/libavformat/smacker.c
+++ b/libavformat/smacker.c
@@ -24,6 +24,7 @@
*/
#include "libavutil/bswap.h"
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define SMACKER_PAL 0x01
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index d899b2d822..dc85c270e0 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "swf.h"
static int get_swf_tag(ByteIOContext *pb, int *len_ptr)
diff --git a/libavformat/thp.c b/libavformat/thp.c
index 434bc297a4..e25872002e 100644
--- a/libavformat/thp.c
+++ b/libavformat/thp.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
typedef struct ThpDemuxContext {
diff --git a/libavformat/txd.c b/libavformat/txd.c
index d2c399697b..3403938663 100644
--- a/libavformat/txd.c
+++ b/libavformat/txd.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define TXD_FILE 0x16
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 7601ea9078..9c06f43345 100644
--- a/libavformat/vc1test.c
+++ b/libavformat/vc1test.c
@@ -26,6 +26,7 @@
* Format specified in SMPTE standard 421 Annex L
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define VC1_EXTRADATA_SIZE 4
diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c
index 8ad690929a..430f131bda 100644
--- a/libavformat/vocdec.c
+++ b/libavformat/vocdec.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/intreadwrite.h"
#include "voc.h"
diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c
index df207ef9d9..01fb617ac2 100644
--- a/libavformat/wc3movie.c
+++ b/libavformat/wc3movie.c
@@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define WC3_PREAMBLE_SIZE 8
diff --git a/libavformat/westwood.c b/libavformat/westwood.c
index d88199d690..1c769466de 100644
--- a/libavformat/westwood.c
+++ b/libavformat/westwood.c
@@ -33,6 +33,7 @@
* qualify a file. Refer to wsaud_probe() for the precise parameters.
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define AUD_HEADER_SIZE 12
diff --git a/libavformat/wv.c b/libavformat/wv.c
index c9f71f95bd..a8c4db2df5 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/bswap.h"
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
// specs say that maximum block size is 1Mb
diff --git a/libavformat/xa.c b/libavformat/xa.c
index 3ea2aaecc9..9c0df89c76 100644
--- a/libavformat/xa.c
+++ b/libavformat/xa.c
@@ -27,6 +27,7 @@
* http://wiki.multimedia.cx/index.php?title=Maxis_XA
*/
+#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define XA00_TAG MKTAG('X', 'A', 0, 0)