Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 16 years ago
parent 7b04b8a057
commit 6a5d31ac25
  1. 1
      libavcodec/4xm.c
  2. 1
      libavcodec/8bps.c
  3. 2
      libavcodec/adxdec.c
  4. 2
      libavcodec/adxenc.c
  5. 1
      libavcodec/bytestream.h
  6. 1
      libavcodec/cinepak.c
  7. 1
      libavcodec/dirac_parser.c
  8. 1
      libavcodec/dpcm.c
  9. 1
      libavcodec/dsputil.h
  10. 2
      libavcodec/dvdsub_parser.c
  11. 1
      libavcodec/dxa.c
  12. 1
      libavcodec/eacmv.c
  13. 2
      libavcodec/flicvideo.c
  14. 1
      libavcodec/h264_mp4toannexb_bsf.c
  15. 1
      libavcodec/mlp.c
  16. 1
      libavcodec/mmvideo.c
  17. 1
      libavcodec/movsub_bsf.c
  18. 1
      libavcodec/msrledec.c
  19. 1
      libavcodec/msvideo1.c
  20. 1
      libavcodec/ptx.c
  21. 1
      libavcodec/qdrw.c
  22. 1
      libavcodec/qtrle.c
  23. 1
      libavcodec/rl2.c
  24. 1
      libavcodec/rpza.c
  25. 1
      libavcodec/s3tc.c
  26. 1
      libavcodec/smc.c
  27. 1
      libavcodec/sunrast.c
  28. 2
      libavcodec/targa.c
  29. 2
      libavcodec/targaenc.c
  30. 2
      libavcodec/truespeech.c
  31. 1
      libavcodec/txd.c
  32. 1
      libavcodec/vmdav.c
  33. 1
      libavcodec/vmnc.c
  34. 1
      libavcodec/vqavideo.c
  35. 2
      libavcodec/ws-snd1.c
  36. 1
      libavcodec/xan.c
  37. 1
      libavcodec/xiph.c
  38. 1
      libavcodec/xl.c
  39. 1
      libavcodec/zmbv.c
  40. 1
      libavcodec/zmbvenc.c
  41. 1
      libavformat/4xm.c
  42. 1
      libavformat/ape.c
  43. 2
      libavformat/avc.c
  44. 1
      libavformat/bethsoftvid.c
  45. 1
      libavformat/bfi.c
  46. 1
      libavformat/dsicin.c
  47. 1
      libavformat/dxa.c
  48. 1
      libavformat/electronicarts.c
  49. 1
      libavformat/ffmdec.c
  50. 1
      libavformat/ffmenc.c
  51. 1
      libavformat/flic.c
  52. 1
      libavformat/idcin.c
  53. 1
      libavformat/idroq.c
  54. 1
      libavformat/iff.c
  55. 1
      libavformat/ipmovie.c
  56. 1
      libavformat/lmlm4.c
  57. 1
      libavformat/matroskadec.c
  58. 1
      libavformat/matroskaenc.c
  59. 1
      libavformat/mm.c
  60. 1
      libavformat/mov.c
  61. 1
      libavformat/mpegts.c
  62. 1
      libavformat/mpegtsenc.c
  63. 1
      libavformat/nutdec.c
  64. 1
      libavformat/nutenc.c
  65. 2
      libavformat/nuv.c
  66. 1
      libavformat/psxstr.c
  67. 1
      libavformat/rl2.c
  68. 1
      libavformat/rmdec.c
  69. 1
      libavformat/rtsp.c
  70. 1
      libavformat/segafilm.c
  71. 1
      libavformat/sierravmd.c
  72. 1
      libavformat/siff.c
  73. 1
      libavformat/smacker.c
  74. 1
      libavformat/swfdec.c
  75. 2
      libavformat/thp.c
  76. 1
      libavformat/txd.c
  77. 1
      libavformat/vc1test.c
  78. 1
      libavformat/vocdec.c
  79. 1
      libavformat/wc3movie.c
  80. 1
      libavformat/westwood.c
  81. 2
      libavformat/wv.c
  82. 1
      libavformat/xa.c

@ -24,6 +24,7 @@
* 4XM codec.
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"

@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

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

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

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

@ -34,6 +34,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

@ -27,6 +27,7 @@
* @author Marco Gerards <marco@gnu.org>
*/
#include "libavutil/intreadwrite.h"
#include "parser.h"
#define DIRAC_PARSE_INFO_PREFIX 0x42424344

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

@ -30,6 +30,7 @@
#ifndef AVCODEC_DSPUTIL_H
#define AVCODEC_DSPUTIL_H
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

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

@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include <zlib.h>

@ -28,6 +28,7 @@
* http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct CmvContext {

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

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

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

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

@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

@ -26,6 +26,7 @@
* http://www.multimedia.cx/msrle.txt
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#define FETCH_NEXT_STREAM_BYTE() \

@ -35,6 +35,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#define PALETTE_COUNT 256

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

@ -24,6 +24,7 @@
* Apple QuickDraw codec.
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct QdrawContext{

@ -36,6 +36,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct QtrleContext {

@ -32,6 +32,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

@ -39,6 +39,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct RpzaContext {

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

@ -33,6 +33,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#define CPAIR 2

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

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

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

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

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

@ -44,6 +44,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#define VMD_HEADER_SIZE 0x330

@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
enum EncTypes {

@ -68,6 +68,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#define PALETTE_COUNT 256

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

@ -33,6 +33,7 @@
#include <string.h>
#include <unistd.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct XanContext {

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

@ -24,6 +24,7 @@
* Miro VideoXL codec.
*/
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
typedef struct VideoXLContext{

@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include <zlib.h>

@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include <zlib.h>

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

@ -22,6 +22,7 @@
#include <stdio.h>
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define ENABLE_DEBUG 0

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

@ -27,6 +27,7 @@
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "libavcodec/bethsoftvideo.h"

@ -26,6 +26,7 @@
* @sa http://wiki.multimedia.cx/index.php?title=BFI
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
typedef struct BFIContext {

@ -24,6 +24,7 @@
* Delphine Software International CIN file demuxer
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"

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

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

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

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

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

@ -68,6 +68,7 @@
* transmitting them to the video decoder
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define HUFFMAN_TABLE_SIZE (64 * 1024)

@ -27,6 +27,7 @@
* http://www.csse.monash.edu.au/~timf/
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define RoQ_MAGIC_NUMBER 0x1084

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

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

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

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

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

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

@ -23,6 +23,7 @@
//#define DEBUG
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"
#include "isom.h"

@ -20,6 +20,7 @@
*/
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "mpegts.h"
#include "internal.h"

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

@ -21,6 +21,7 @@
*/
#include "libavutil/avstring.h"
#include "libavutil/bswap.h"
#include "libavutil/tree.h"
#include "nut.h"

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

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

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

@ -33,6 +33,7 @@
* optional background_frame
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define EXTRADATA1_SIZE (6 + 256 * 3) ///< video base, clr, palette

@ -20,6 +20,7 @@
*/
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "rm.h"

@ -23,6 +23,7 @@
#define _SVID_SOURCE
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include <sys/time.h>

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

@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define VMD_HEADER_SIZE 0x0330

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

@ -24,6 +24,7 @@
*/
#include "libavutil/bswap.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define SMACKER_PAL 0x01

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

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

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

@ -26,6 +26,7 @@
* Format specified in SMPTE standard 421 Annex L
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define VC1_EXTRADATA_SIZE 4

@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/intreadwrite.h"
#include "voc.h"

@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#define WC3_PREAMBLE_SIZE 8

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

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

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

Loading…
Cancel
Save