diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-11 22:19:48 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-11 22:19:48 +0000 |
commit | 6a5d31ac25f55248af5725287833d007ff78b188 (patch) | |
tree | 38b495992e3e320f4cb83d99b725714b7b2d616c /libavcodec | |
parent | 7b04b8a0578a29f6403a8da74a94d1015c51c7ab (diff) | |
download | ffmpeg-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 'libavcodec')
40 files changed, 47 insertions, 1 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c index 0fc7a2e6d8..3f1af194e4 100644 --- a/libavcodec/4xm.c +++ b/libavcodec/4xm.c @@ -24,6 +24,7 @@ * 4XM codec. */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include "dsputil.h" #include "bitstream.h" diff --git a/libavcodec/8bps.c b/libavcodec/8bps.c index 4376d07064..5a5f764101 100644 --- a/libavcodec/8bps.c +++ b/libavcodec/8bps.c @@ -34,6 +34,7 @@ #include <stdio.h> #include <stdlib.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c index 5512d7fc56..aa0e896128 100644 --- a/libavcodec/adxdec.c +++ b/libavcodec/adxdec.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 "avcodec.h" #include "adx.h" diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c index 6bce31a186..1ba860831e 100644 --- a/libavcodec/adxenc.c +++ b/libavcodec/adxenc.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 "avcodec.h" #include "adx.h" diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h index e0d7111d17..0f2178a86e 100644 --- a/libavcodec/bytestream.h +++ b/libavcodec/bytestream.h @@ -23,6 +23,7 @@ #define AVCODEC_BYTESTREAM_H #include "libavutil/common.h" +#include "libavutil/intreadwrite.h" #define DEF_T(type, name, bytes, read, write) \ static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\ diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index 8c2efba03b..67193b94d6 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -34,6 +34,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/dirac_parser.c b/libavcodec/dirac_parser.c index ac82dcabf1..511563cb6c 100644 --- a/libavcodec/dirac_parser.c +++ b/libavcodec/dirac_parser.c @@ -27,6 +27,7 @@ * @author Marco Gerards <marco@gnu.org> */ +#include "libavutil/intreadwrite.h" #include "parser.h" #define DIRAC_PARSE_INFO_PREFIX 0x42424344 diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index 74ca9ec8ec..be976e842c 100644 --- a/libavcodec/dpcm.c +++ b/libavcodec/dpcm.c @@ -37,6 +37,7 @@ * the fourcc 'Axan' in the 'auds' chunk of the AVI header. */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct DPCMContext { diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index a81d4184a5..2cdeef5b7c 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -30,6 +30,7 @@ #ifndef AVCODEC_DSPUTIL_H #define AVCODEC_DSPUTIL_H +#include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/dvdsub_parser.c b/libavcodec/dvdsub_parser.c index 0893daca65..ed6ed36933 100644 --- a/libavcodec/dvdsub_parser.c +++ b/libavcodec/dvdsub_parser.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 "avcodec.h" /* parser definition */ diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c index 3d03445c0c..e0f4430a0e 100644 --- a/libavcodec/dxa.c +++ b/libavcodec/dxa.c @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include <zlib.h> diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c index a9f624e046..ffd8f462de 100644 --- a/libavcodec/eacmv.c +++ b/libavcodec/eacmv.c @@ -28,6 +28,7 @@ * http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct CmvContext { diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 4a8cb5e043..d6faa34128 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -40,7 +40,7 @@ #include <string.h> #include <unistd.h> -#include "libavutil/bswap.h" +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define FLI_256_COLOR 4 diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcodec/h264_mp4toannexb_bsf.c index e94f8c6565..af79fee946 100644 --- a/libavcodec/h264_mp4toannexb_bsf.c +++ b/libavcodec/h264_mp4toannexb_bsf.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct H264BSFContext { diff --git a/libavcodec/mlp.c b/libavcodec/mlp.c index 7ef7f97526..6f10c3535e 100644 --- a/libavcodec/mlp.c +++ b/libavcodec/mlp.c @@ -22,6 +22,7 @@ #include <stdint.h> #include "libavutil/crc.h" +#include "libavutil/intreadwrite.h" #include "mlp.h" const uint8_t ff_mlp_huffman_tables[3][18][2] = { diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c index 03d86ee9dc..c1f1d36f7d 100644 --- a/libavcodec/mmvideo.c +++ b/libavcodec/mmvideo.c @@ -31,6 +31,7 @@ * http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define MM_PREAMBLE_SIZE 6 diff --git a/libavcodec/movsub_bsf.c b/libavcodec/movsub_bsf.c index 99e8135f5e..2423f2db94 100644 --- a/libavcodec/movsub_bsf.c +++ b/libavcodec/movsub_bsf.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/msrledec.c b/libavcodec/msrledec.c index 7d09ed99a6..0a7fda2286 100644 --- a/libavcodec/msrledec.c +++ b/libavcodec/msrledec.c @@ -26,6 +26,7 @@ * http://www.multimedia.cx/msrle.txt */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define FETCH_NEXT_STREAM_BYTE() \ diff --git a/libavcodec/msvideo1.c b/libavcodec/msvideo1.c index 8621d661df..c208d47e81 100644 --- a/libavcodec/msvideo1.c +++ b/libavcodec/msvideo1.c @@ -35,6 +35,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define PALETTE_COUNT 256 diff --git a/libavcodec/ptx.c b/libavcodec/ptx.c index 79424b9c42..2ab45b08a7 100644 --- a/libavcodec/ptx.c +++ b/libavcodec/ptx.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct PTXContext { diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index e0e4142b81..80b84a02c0 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -24,6 +24,7 @@ * Apple QuickDraw codec. */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct QdrawContext{ diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 33a7eb5731..306a07424e 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -36,6 +36,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct QtrleContext { diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c index ad830e7b65..2bd7b157df 100644 --- a/libavcodec/rl2.c +++ b/libavcodec/rl2.c @@ -32,6 +32,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index ddf39544ff..ddfe05c983 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -39,6 +39,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct RpzaContext { diff --git a/libavcodec/s3tc.c b/libavcodec/s3tc.c index fc035e5778..546ee2156f 100644 --- a/libavcodec/s3tc.c +++ b/libavcodec/s3tc.c @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include "s3tc.h" diff --git a/libavcodec/smc.c b/libavcodec/smc.c index e05e0b1625..197c053182 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -33,6 +33,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define CPAIR 2 diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index c8f021f850..f7a7f9c6c0 100644 --- a/libavcodec/sunrast.c +++ b/libavcodec/sunrast.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define RT_OLD 0 diff --git a/libavcodec/targa.c b/libavcodec/targa.c index f9bc343997..56a6876ec4 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.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 "avcodec.h" enum TargaCompr{ diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index 958ae50553..21747bb368 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.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 "avcodec.h" #include "rle.h" diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index 3df71cb7f2..2c0b22f098 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.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 "avcodec.h" #include "truespeech_data.h" diff --git a/libavcodec/txd.c b/libavcodec/txd.c index 284b00d2de..44bbad4cab 100644 --- a/libavcodec/txd.c +++ b/libavcodec/txd.c @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include "s3tc.h" diff --git a/libavcodec/vmdav.c b/libavcodec/vmdav.c index 328abbb3c7..48f76bfaf3 100644 --- a/libavcodec/vmdav.c +++ b/libavcodec/vmdav.c @@ -44,6 +44,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define VMD_HEADER_SIZE 0x330 diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index c07d0016f5..5a7e5b0243 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -28,6 +28,7 @@ #include <stdio.h> #include <stdlib.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" enum EncTypes { diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 028895f8d1..c392a829c9 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -68,6 +68,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #define PALETTE_COUNT 256 diff --git a/libavcodec/ws-snd1.c b/libavcodec/ws-snd1.c index 24753b0c9c..2dc49fcefa 100644 --- a/libavcodec/ws-snd1.c +++ b/libavcodec/ws-snd1.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 "avcodec.h" /** diff --git a/libavcodec/xan.c b/libavcodec/xan.c index 12b00b1b66..236c22c7dd 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -33,6 +33,7 @@ #include <string.h> #include <unistd.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct XanContext { diff --git a/libavcodec/xiph.c b/libavcodec/xiph.c index 6554264648..2f4f25c929 100644 --- a/libavcodec/xiph.c +++ b/libavcodec/xiph.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/intreadwrite.h" #include "xiph.h" int ff_split_xiph_headers(uint8_t *extradata, int extradata_size, diff --git a/libavcodec/xl.c b/libavcodec/xl.c index b6911dd359..8af9a3287a 100644 --- a/libavcodec/xl.c +++ b/libavcodec/xl.c @@ -24,6 +24,7 @@ * Miro VideoXL codec. */ +#include "libavutil/intreadwrite.h" #include "avcodec.h" typedef struct VideoXLContext{ diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index e36ff27301..6943ff3568 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include <zlib.h> diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index 79478de510..a960f7a8b5 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -27,6 +27,7 @@ #include <stdio.h> #include <stdlib.h> +#include "libavutil/intreadwrite.h" #include "avcodec.h" #include <zlib.h> |