[FFmpeg-cvslog] r9344 - in trunk: libavcodec/aac_ac3_parser.h libavcodec/atrac3data.h libavcodec/bitstream.h libavcodec/bmp.h libavcodec/bytestream.h libavcodec/cookdata.h libavcodec/dcadata.h libavcodec/dcahuff.h libavcodec/dnxhddata.h libavcodec/dvdata.h libavcodec/faandct.h libavcodec/golomb.h libavcodec/h261data.h libavcodec/h263_parser.h libavcodec/h263data.h libavcodec/h264data.h libavcodec/imcdata.h libavcodec/indeo2data.h libavcodec/indeo3data.h libavcodec/jpeglsdec.h libavcodec/mathops.h libavcodec/mpcdata.h libavcodec/mpeg12data.h libavcodec/mpeg4data.h libavcodec/mpegaudiodectab.h libavcodec/mpegaudiotab.h libavcodec/msmpeg4tab.h libavcodec/opt.h libavcodec/qdm2data.h libavcodec/rangecoder.h libavcodec/ratecontrol.h libavcodec/rl.h libavcodec/rle.h libavcodec/rtjpeg.h libavcodec/s3tc.h libavcodec/simple_idct.h libavcodec/sp5x.h libavcodec/svq1_cb.h libavcodec/svq1_vlc.h libavcodec/tiff.h libavcodec/truemotion1data.h libavcodec/truespeech_data.h libavcodec/vc1acdata.h libavcodec/vc1data.h libavcodec/vorbis_enc_data.h libavcodec/vp3data.h libavcodec/vp5data.h libavcodec/wmadata.h libavformat/allformats.h libavformat/asf.h libavformat/avio.h libavformat/dv.h libavformat/isom.h libavformat/mpegts.h libavformat/riff.h libavformat/rtp.h libavformat/rtp_h264.h libavformat/rtp_internal.h libavformat/rtsp.h libavutil/adler32.h libavutil/aes.h libavutil/base64.h libavutil/bswap.h libavutil/crc.h libavutil/fifo.h libavutil/integer.h libavutil/internal.h libavutil/intreadwrite.h libavutil/md5.h libavutil/rational.h libavutil/sha1.h libavutil/softfloat.h

mru subversion
Sun Jun 17 00:59:13 CEST 2007


Author: mru
Date: Sun Jun 17 00:59:13 2007
New Revision: 9344

Log:
include all prerequisites in header files


Modified:
   trunk/libavcodec/aac_ac3_parser.h
   trunk/libavcodec/atrac3data.h
   trunk/libavcodec/bitstream.h
   trunk/libavcodec/bmp.h
   trunk/libavcodec/bytestream.h
   trunk/libavcodec/cookdata.h
   trunk/libavcodec/dcadata.h
   trunk/libavcodec/dcahuff.h
   trunk/libavcodec/dnxhddata.h
   trunk/libavcodec/dvdata.h
   trunk/libavcodec/faandct.h
   trunk/libavcodec/golomb.h
   trunk/libavcodec/h261data.h
   trunk/libavcodec/h263_parser.h
   trunk/libavcodec/h263data.h
   trunk/libavcodec/h264data.h
   trunk/libavcodec/imcdata.h
   trunk/libavcodec/indeo2data.h
   trunk/libavcodec/indeo3data.h
   trunk/libavcodec/jpeglsdec.h
   trunk/libavcodec/mathops.h
   trunk/libavcodec/mpcdata.h
   trunk/libavcodec/mpeg12data.h
   trunk/libavcodec/mpeg4data.h
   trunk/libavcodec/mpegaudiodectab.h
   trunk/libavcodec/mpegaudiotab.h
   trunk/libavcodec/msmpeg4tab.h
   trunk/libavcodec/opt.h
   trunk/libavcodec/qdm2data.h
   trunk/libavcodec/rangecoder.h
   trunk/libavcodec/ratecontrol.h
   trunk/libavcodec/rl.h
   trunk/libavcodec/rle.h
   trunk/libavcodec/rtjpeg.h
   trunk/libavcodec/s3tc.h
   trunk/libavcodec/simple_idct.h
   trunk/libavcodec/sp5x.h
   trunk/libavcodec/svq1_cb.h
   trunk/libavcodec/svq1_vlc.h
   trunk/libavcodec/tiff.h
   trunk/libavcodec/truemotion1data.h
   trunk/libavcodec/truespeech_data.h
   trunk/libavcodec/vc1acdata.h
   trunk/libavcodec/vc1data.h
   trunk/libavcodec/vorbis_enc_data.h
   trunk/libavcodec/vp3data.h
   trunk/libavcodec/vp5data.h
   trunk/libavcodec/wmadata.h
   trunk/libavformat/allformats.h
   trunk/libavformat/asf.h
   trunk/libavformat/avio.h
   trunk/libavformat/dv.h
   trunk/libavformat/isom.h
   trunk/libavformat/mpegts.h
   trunk/libavformat/riff.h
   trunk/libavformat/rtp.h
   trunk/libavformat/rtp_h264.h
   trunk/libavformat/rtp_internal.h
   trunk/libavformat/rtsp.h
   trunk/libavutil/adler32.h
   trunk/libavutil/aes.h
   trunk/libavutil/base64.h
   trunk/libavutil/bswap.h
   trunk/libavutil/crc.h
   trunk/libavutil/fifo.h
   trunk/libavutil/integer.h
   trunk/libavutil/internal.h
   trunk/libavutil/intreadwrite.h
   trunk/libavutil/md5.h
   trunk/libavutil/rational.h
   trunk/libavutil/sha1.h
   trunk/libavutil/softfloat.h

Modified: trunk/libavcodec/aac_ac3_parser.h
==============================================================================
--- trunk/libavcodec/aac_ac3_parser.h	(original)
+++ trunk/libavcodec/aac_ac3_parser.h	Sun Jun 17 00:59:13 2007
@@ -23,6 +23,9 @@
 #ifndef AAC_AC3_PARSER_H
 #define AAC_AC3_PARSER_H
 
+#include <stdint.h>
+#include "avcodec.h"
+
 typedef struct AACAC3ParseContext {
     uint8_t *inbuf_ptr;
     int frame_size;

Modified: trunk/libavcodec/atrac3data.h
==============================================================================
--- trunk/libavcodec/atrac3data.h	(original)
+++ trunk/libavcodec/atrac3data.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,8 @@
  * Atrac 3 AKA RealAudio 8 compatible decoder data
  */
 
+#include <stdint.h>
+
 /* VLC tables */
 
 static const uint8_t huffcode1[9] = {

Modified: trunk/libavcodec/bitstream.h
==============================================================================
--- trunk/libavcodec/bitstream.h	(original)
+++ trunk/libavcodec/bitstream.h	Sun Jun 17 00:59:13 2007
@@ -26,6 +26,11 @@
 #ifndef BITSTREAM_H
 #define BITSTREAM_H
 
+#include <stdint.h>
+#include <stdlib.h>
+#include <assert.h>
+#include "common.h"
+#include "bswap.h"
 #include "log.h"
 
 #if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)

Modified: trunk/libavcodec/bmp.h
==============================================================================
--- trunk/libavcodec/bmp.h	(original)
+++ trunk/libavcodec/bmp.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "avcodec.h"
+
 typedef struct BMPContext {
     AVFrame picture;
 } BMPContext;

Modified: trunk/libavcodec/bytestream.h
==============================================================================
--- trunk/libavcodec/bytestream.h	(original)
+++ trunk/libavcodec/bytestream.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
 #ifndef FFMPEG_BYTESTREAM_H
 #define FFMPEG_BYTESTREAM_H
 
+#include "common.h"
+
 #define DEF(name, bytes, read, write)\
 static av_always_inline unsigned int bytestream_get_ ## name(uint8_t **b){\
     (*b) += bytes;\

Modified: trunk/libavcodec/cookdata.h
==============================================================================
--- trunk/libavcodec/cookdata.h	(original)
+++ trunk/libavcodec/cookdata.h	Sun Jun 17 00:59:13 2007
@@ -26,6 +26,8 @@
  * Cook AKA RealAudio G2 compatible decoderdata
  */
 
+#include <stdint.h>
+
 /* various data tables */
 
 static const int expbits_tab[8] = {

Modified: trunk/libavcodec/dcadata.h
==============================================================================
--- trunk/libavcodec/dcadata.h	(original)
+++ trunk/libavcodec/dcadata.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,8 @@
  * @file dcadata.c
  */
 
+#include <stdint.h>
+
 /* Generic tables */
 
 static const uint32_t dca_sample_rates[16] =

Modified: trunk/libavcodec/dcahuff.h
==============================================================================
--- trunk/libavcodec/dcahuff.h	(original)
+++ trunk/libavcodec/dcahuff.h	Sun Jun 17 00:59:13 2007
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+#include <stdlib.h>
+
 #define TMODE_COUNT 4
 static const uint8_t tmode_vlc_bits[TMODE_COUNT] = { 3, 3, 3, 2 };
 static const uint16_t tmode_codes[TMODE_COUNT][4] = {

Modified: trunk/libavcodec/dnxhddata.h
==============================================================================
--- trunk/libavcodec/dnxhddata.h	(original)
+++ trunk/libavcodec/dnxhddata.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+
 static const uint8_t dnxhd_1238_luma_weigth[] = {
      0, 32, 32, 33, 34, 33, 33, 33,
     33, 33, 33, 33, 33, 35, 37, 37,

Modified: trunk/libavcodec/dvdata.h
==============================================================================
--- trunk/libavcodec/dvdata.h	(original)
+++ trunk/libavcodec/dvdata.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,9 @@
  * Constants for DV codec.
  */
 
+#include "avcodec.h"
+#include "rational.h"
+
 /*
  * DVprofile is used to express the differences between various
  * DV flavors. For now it's primarily used for differentiating

Modified: trunk/libavcodec/faandct.h
==============================================================================
--- trunk/libavcodec/faandct.h	(original)
+++ trunk/libavcodec/faandct.h	Sun Jun 17 00:59:13 2007
@@ -27,6 +27,8 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
+#include "dsputil.h"
+
 #define FAAN_POSTSCALE
 
 void ff_faandct(DCTELEM * data);

Modified: trunk/libavcodec/golomb.h
==============================================================================
--- trunk/libavcodec/golomb.h	(original)
+++ trunk/libavcodec/golomb.h	Sun Jun 17 00:59:13 2007
@@ -28,6 +28,9 @@
  * @author Michael Niedermayer <michaelni at gmx.at> and Alex Beregszaszi
  */
 
+#include <stdint.h>
+#include "bitstream.h"
+
 #define INVALID_VLC           0x80000000
 
 extern const uint8_t ff_golomb_vlc_len[512];

Modified: trunk/libavcodec/h261data.h
==============================================================================
--- trunk/libavcodec/h261data.h	(original)
+++ trunk/libavcodec/h261data.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,9 @@
  * H.261 tables.
  */
 
+#include <stdint.h>
+#include "h261.h"
+
 // H.261 VLC table for macroblock addressing
 static const uint8_t h261_mba_code[35] = {
      1,  3,  2,  3,

Modified: trunk/libavcodec/h263_parser.h
==============================================================================
--- trunk/libavcodec/h263_parser.h	(original)
+++ trunk/libavcodec/h263_parser.h	Sun Jun 17 00:59:13 2007
@@ -19,4 +19,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "parser.h"
+
 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);

Modified: trunk/libavcodec/h263data.h
==============================================================================
--- trunk/libavcodec/h263data.h	(original)
+++ trunk/libavcodec/h263data.h	Sun Jun 17 00:59:13 2007
@@ -26,6 +26,8 @@
  * H.263 tables.
  */
 
+#include <stdint.h>
+#include "mpegvideo.h"
 
 /* intra MCBPC, mb_type = (intra), then (intraq) */
 const uint8_t intra_MCBPC_code[9] = { 1, 1, 2, 3, 1, 1, 2, 3, 1 };

Modified: trunk/libavcodec/h264data.h
==============================================================================
--- trunk/libavcodec/h264data.h	(original)
+++ trunk/libavcodec/h264data.h	Sun Jun 17 00:59:13 2007
@@ -27,6 +27,10 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
+#include <stdint.h>
+#include "mpegvideo.h"
+#include "rational.h"
+
 #define VERT_PRED             0
 #define HOR_PRED              1
 #define DC_PRED               2

Modified: trunk/libavcodec/imcdata.h
==============================================================================
--- trunk/libavcodec/imcdata.h	(original)
+++ trunk/libavcodec/imcdata.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
  *
  */
 
+#include <stdint.h>
+
 static const uint16_t band_tab[33] = {
       0,   3,   6,   9,  12,  16,  20,  24,  29,  34,  40,
      46,  53,  60,  68,  76,  84,  93, 102, 111, 121, 131,

Modified: trunk/libavcodec/indeo2data.h
==============================================================================
--- trunk/libavcodec/indeo2data.h	(original)
+++ trunk/libavcodec/indeo2data.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+
 #define IR2_CODES 143
 static const uint16_t ir2_codes[IR2_CODES][2] = {
 #ifdef ALT_BITSTREAM_READER_LE

Modified: trunk/libavcodec/indeo3data.h
==============================================================================
--- trunk/libavcodec/indeo3data.h	(original)
+++ trunk/libavcodec/indeo3data.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+
 static const uint32_t correction[] = {
         0x00000000, 0x00000202, 0xfffffdfe, 0x000002ff, 0xfffffd01, 0xffffff03, 0x000000fd, 0x00000404,
         0xfffffbfc, 0x00000501, 0xfffffaff, 0x00000105, 0xfffffefb, 0x000003fc, 0xfffffc04, 0x000005fe,

Modified: trunk/libavcodec/jpeglsdec.h
==============================================================================
--- trunk/libavcodec/jpeglsdec.h	(original)
+++ trunk/libavcodec/jpeglsdec.h	Sun Jun 17 00:59:13 2007
@@ -29,6 +29,7 @@
 #define JPEGLSDEC_H
 
 #include "mjpeg.h"
+#include "mjpegdec.h"
 
 /**
  * Decode LSE block with initialization parameters

Modified: trunk/libavcodec/mathops.h
==============================================================================
--- trunk/libavcodec/mathops.h	(original)
+++ trunk/libavcodec/mathops.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
 #ifndef MATHOPS_H
 #define MATHOPS_H
 
+#include "common.h"
+
 #ifdef ARCH_X86_32
 
 #include "i386/mathops.h"

Modified: trunk/libavcodec/mpcdata.h
==============================================================================
--- trunk/libavcodec/mpcdata.h	(original)
+++ trunk/libavcodec/mpcdata.h	Sun Jun 17 00:59:13 2007
@@ -20,6 +20,8 @@
  *
  */
 
+#include <stdint.h>
+
 static const int8_t mpc_idx30[] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1};
 static const int8_t mpc_idx31[] = { -1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1,-1,-1,-1, 0, 0, 0, 1, 1, 1};
 static const int8_t mpc_idx32[] = { -1,-1,-1,-1,-1,-1,-1,-1,-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1};

Modified: trunk/libavcodec/mpeg12data.h
==============================================================================
--- trunk/libavcodec/mpeg12data.h	(original)
+++ trunk/libavcodec/mpeg12data.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,9 @@
  * MPEG1/2 tables.
  */
 
+#include <stdint.h>
+#include "mpegvideo.h"
+
 const uint16_t ff_mpeg1_default_intra_matrix[64] = {
         8, 16, 19, 22, 26, 27, 29, 34,
         16, 16, 22, 24, 27, 29, 34, 37,

Modified: trunk/libavcodec/mpeg4data.h
==============================================================================
--- trunk/libavcodec/mpeg4data.h	(original)
+++ trunk/libavcodec/mpeg4data.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,9 @@
  * mpeg4 tables.
  */
 
+#include <stdint.h>
+#include "mpegvideo.h"
+
 // shapes
 #define RECT_SHAPE       0
 #define BIN_SHAPE        1

Modified: trunk/libavcodec/mpegaudiodectab.h
==============================================================================
--- trunk/libavcodec/mpegaudiodectab.h	(original)
+++ trunk/libavcodec/mpegaudiodectab.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,9 @@
  * mpeg audio layer decoder tables.
  */
 
+#include <stdint.h>
+#include "mpegaudio.h"
+
 /*******************************************************/
 /* layer 3 tables */
 

Modified: trunk/libavcodec/mpegaudiotab.h
==============================================================================
--- trunk/libavcodec/mpegaudiotab.h	(original)
+++ trunk/libavcodec/mpegaudiotab.h	Sun Jun 17 00:59:13 2007
@@ -27,6 +27,9 @@
  * Most of them come from the mpeg audio specification.
  */
 
+#include <stdint.h>
+#include "mpegaudio.h"
+
 #define SQRT2 1.41421356237309514547
 
 static const int costab32[30] = {

Modified: trunk/libavcodec/msmpeg4tab.h
==============================================================================
--- trunk/libavcodec/msmpeg4tab.h	(original)
+++ trunk/libavcodec/msmpeg4tab.h	Sun Jun 17 00:59:13 2007
@@ -27,6 +27,10 @@
  * MSMPEG4 data tables.
  */
 
+#include <stdint.h>
+#include "bitstream.h"
+#include "rl.h"
+
 /* non intra picture macro block coded block pattern + mb type */
 static const uint32_t table_mb_non_intra[128][2] = {
 { 0x40, 7 },{ 0x13c9, 13 },{ 0x9fd, 12 },{ 0x1fc, 15 },

Modified: trunk/libavcodec/opt.h
==============================================================================
--- trunk/libavcodec/opt.h	(original)
+++ trunk/libavcodec/opt.h	Sun Jun 17 00:59:13 2007
@@ -27,6 +27,8 @@
  * AVOptions
  */
 
+#include "rational.h"
+
 enum AVOptionType{
     FF_OPT_TYPE_FLAGS,
     FF_OPT_TYPE_INT,

Modified: trunk/libavcodec/qdm2data.h
==============================================================================
--- trunk/libavcodec/qdm2data.h	(original)
+++ trunk/libavcodec/qdm2data.h	Sun Jun 17 00:59:13 2007
@@ -31,6 +31,8 @@
 #ifndef QDM2DATA_H
 #define QDM2DATA_H
 
+#include <stdint.h>
+
 /** VLC TABLES **/
 
 /* values in this table range from -1..23; adjust retrieved value by -1 */

Modified: trunk/libavcodec/rangecoder.h
==============================================================================
--- trunk/libavcodec/rangecoder.h	(original)
+++ trunk/libavcodec/rangecoder.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,10 @@
  * Range coder.
  */
 
+#include <stdint.h>
+#include <assert.h>
+#include "common.h"
+
 typedef struct RangeCoder{
     int low;
     int range;

Modified: trunk/libavcodec/ratecontrol.h
==============================================================================
--- trunk/libavcodec/ratecontrol.h	(original)
+++ trunk/libavcodec/ratecontrol.h	Sun Jun 17 00:59:13 2007
@@ -28,6 +28,8 @@
  * ratecontrol header.
  */
 
+#include <stdio.h>
+#include <stdint.h>
 #include "eval.h"
 
 typedef struct Predictor{

Modified: trunk/libavcodec/rl.h
==============================================================================
--- trunk/libavcodec/rl.h	(original)
+++ trunk/libavcodec/rl.h	Sun Jun 17 00:59:13 2007
@@ -6,6 +6,10 @@
 #ifndef AVCODEC_RL_H
 #define AVCODEC_RL_H
 
+#include <stdint.h>
+#include "bitstream.h"
+#include "mpegvideo.h"
+
 /** RLTable. */
 typedef struct RLTable {
     int n;                         ///< number of entries of table_vlc minus 1

Modified: trunk/libavcodec/rle.h
==============================================================================
--- trunk/libavcodec/rle.h	(original)
+++ trunk/libavcodec/rle.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
 #ifndef RLE_H
 #define RLE_H
 
+#include <stdint.h>
+
 /**
  * RLE compress the row, with maximum size of out_size. Value before repeated bytes is (count ^ xor_rep) + add_rep.
  *                                                      Value before raw bytes is      (count ^ xor_raw) + add_raw.

Modified: trunk/libavcodec/rtjpeg.h
==============================================================================
--- trunk/libavcodec/rtjpeg.h	(original)
+++ trunk/libavcodec/rtjpeg.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,9 @@
 #ifndef RTJPEG_H
 #define RTJPEG_H
 
+#include <stdint.h>
+#include <dsputil.h>
+
 typedef struct {
     int w, h;
     DSPContext *dsp;

Modified: trunk/libavcodec/s3tc.h
==============================================================================
--- trunk/libavcodec/s3tc.h	(original)
+++ trunk/libavcodec/s3tc.h	Sun Jun 17 00:59:13 2007
@@ -23,6 +23,8 @@
 #ifndef FF_S3TC_H
 #define FF_S3TC_H
 
+#include <stdint.h>
+
 #define FF_S3TC_DXT1    0x31545844
 #define FF_S3TC_DXT3    0x33545844
 

Modified: trunk/libavcodec/simple_idct.h
==============================================================================
--- trunk/libavcodec/simple_idct.h	(original)
+++ trunk/libavcodec/simple_idct.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,9 @@
  * simple idct header.
  */
 
+#include <stdint.h>
+#include "dsputil.h"
+
 void simple_idct_put(uint8_t *dest, int line_size, DCTELEM *block);
 void simple_idct_add(uint8_t *dest, int line_size, DCTELEM *block);
 void ff_simple_idct_mmx(int16_t *block);

Modified: trunk/libavcodec/sp5x.h
==============================================================================
--- trunk/libavcodec/sp5x.h	(original)
+++ trunk/libavcodec/sp5x.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
 #ifndef SP5X_H
 #define SP5X_H
 
+#include <stdint.h>
+
 static const uint8_t sp5x_data_sof[] =
 {
     0xFF, 0xC0,       /* SOF */

Modified: trunk/libavcodec/svq1_cb.h
==============================================================================
--- trunk/libavcodec/svq1_cb.h	(original)
+++ trunk/libavcodec/svq1_cb.h	Sun Jun 17 00:59:13 2007
@@ -29,6 +29,9 @@
  * svq1 code books.
  */
 
+#include <stdint.h>
+#include <stdlib.h>
+
 /* 6x16-entry codebook for inter-coded 4x2 vectors */
 static const int8_t svq1_inter_codebook_4x2[768] = {
     7,  2, -6, -7,  7,  3, -3, -4, -7, -2,  7,  8, -8, -4,  3,  4,

Modified: trunk/libavcodec/svq1_vlc.h
==============================================================================
--- trunk/libavcodec/svq1_vlc.h	(original)
+++ trunk/libavcodec/svq1_vlc.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef SVQ1_VLC_H
 #define SVQ1_VLC_H
 
+#include <stdint.h>
+
 /* values in this table range from 0..3; adjust retrieved value by +0 */
 static const uint8_t svq1_block_type_vlc[4][2] = {
  /* { code, length } */

Modified: trunk/libavcodec/tiff.h
==============================================================================
--- trunk/libavcodec/tiff.h	(original)
+++ trunk/libavcodec/tiff.h	Sun Jun 17 00:59:13 2007
@@ -28,6 +28,8 @@
 #ifndef TIFF_H
 #define TIFF_H
 
+#include <stdint.h>
+
 /** abridged list of TIFF tags */
 enum TiffTags{
     TIFF_SUBFILE = 0xfe,

Modified: trunk/libavcodec/truemotion1data.h
==============================================================================
--- trunk/libavcodec/truemotion1data.h	(original)
+++ trunk/libavcodec/truemotion1data.h	Sun Jun 17 00:59:13 2007
@@ -25,6 +25,9 @@
 #ifndef TRUEMOTION1DATA_H
 #define TRUEMOTION1DATA_H
 
+#include <stdint.h>
+#include <stdlib.h>
+
 /* Y delta tables, skinny and fat */
 static const int16_t ydt1[8] = { 0, -2, 2, -6, 6, -12, 12, -12 };
 static const int16_t ydt2[8] = { 0, -2, 4, -6, 8, -12, 12, -12 };

Modified: trunk/libavcodec/truespeech_data.h
==============================================================================
--- trunk/libavcodec/truespeech_data.h	(original)
+++ trunk/libavcodec/truespeech_data.h	Sun Jun 17 00:59:13 2007
@@ -22,6 +22,8 @@
 #ifndef __TRUESPEECH_DATA__
 #define __TRUESPEECH_DATA__
 
+#include <stdint.h>
+
 /* codebooks fo expanding input filter */
 static const int16_t ts_cb_0[32] = {
     0x8240, 0x8364, 0x84CE, 0x865D, 0x8805, 0x89DE, 0x8BD7, 0x8DF4,

Modified: trunk/libavcodec/vc1acdata.h
==============================================================================
--- trunk/libavcodec/vc1acdata.h	(original)
+++ trunk/libavcodec/vc1acdata.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+
 #define AC_MODES 8
 
 static const int vc1_ac_sizes[AC_MODES] = {

Modified: trunk/libavcodec/vc1data.h
==============================================================================
--- trunk/libavcodec/vc1data.h	(original)
+++ trunk/libavcodec/vc1data.h	Sun Jun 17 00:59:13 2007
@@ -28,6 +28,10 @@
 #ifndef VC1DATA_H
 #define VC1DATA_H
 
+#include <stdint.h>
+#include "bitstream.h"
+#include "rational.h"
+
 /** Table for conversion between TTBLK and TTMB */
 extern const int ff_vc1_ttblk_to_tt[3][8];
 

Modified: trunk/libavcodec/vorbis_enc_data.h
==============================================================================
--- trunk/libavcodec/vorbis_enc_data.h	(original)
+++ trunk/libavcodec/vorbis_enc_data.h	Sun Jun 17 00:59:13 2007
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <stdint.h>
+
 static const uint8_t codebook0[] = {
    2, 10,  8, 14,  7, 12, 11, 14,  1,  5,  3,  7,  4,  9,  7,
   13,

Modified: trunk/libavcodec/vp3data.h
==============================================================================
--- trunk/libavcodec/vp3data.h	(original)
+++ trunk/libavcodec/vp3data.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,9 @@
 #ifndef VP3DATA_H
 #define VP3DATA_H
 
+#include <stdint.h>
+#include <stdlib.h>
+
 /* these coefficients dequantize intraframe Y plane coefficients
  * (note: same as JPEG) */
 static const int16_t vp31_intra_y_dequant[64] =

Modified: trunk/libavcodec/vp5data.h
==============================================================================
--- trunk/libavcodec/vp5data.h	(original)
+++ trunk/libavcodec/vp5data.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,8 @@
 #ifndef VP5DATA_H
 #define VP5DATA_H
 
+#include <stdint.h>
+
 static const uint8_t vp5_coeff_groups[] = {
     -1, 0, 1, 1, 2, 1, 1, 2,
      2, 1, 1, 2, 2, 2, 1, 2,

Modified: trunk/libavcodec/wmadata.h
==============================================================================
--- trunk/libavcodec/wmadata.h	(original)
+++ trunk/libavcodec/wmadata.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,9 @@
  * Various WMA tables.
  */
 
+#include <stdint.h>
+#include "wma.h"
+
 static const uint16_t wma_critical_freqs[25] = {
     100,   200,  300, 400,   510,  630,  770,    920,
     1080, 1270, 1480, 1720, 2000, 2320, 2700,   3150,

Modified: trunk/libavformat/allformats.h
==============================================================================
--- trunk/libavformat/allformats.h	(original)
+++ trunk/libavformat/allformats.h	Sun Jun 17 00:59:13 2007
@@ -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;

Modified: trunk/libavformat/asf.h
==============================================================================
--- trunk/libavformat/asf.h	(original)
+++ trunk/libavformat/asf.h	Sun Jun 17 00:59:13 2007
@@ -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 {

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	(original)
+++ trunk/libavformat/avio.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef AVIO_H
 #define AVIO_H
 
+#include <stdint.h>
+
 /* output byte stream handling */
 
 typedef int64_t offset_t;

Modified: trunk/libavformat/dv.h
==============================================================================
--- trunk/libavformat/dv.h	(original)
+++ trunk/libavformat/dv.h	Sun Jun 17 00:59:13 2007
@@ -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 *);

Modified: trunk/libavformat/isom.h
==============================================================================
--- trunk/libavformat/isom.h	(original)
+++ trunk/libavformat/isom.h	Sun Jun 17 00:59:13 2007
@@ -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[];

Modified: trunk/libavformat/mpegts.h
==============================================================================
--- trunk/libavformat/mpegts.h	(original)
+++ trunk/libavformat/mpegts.h	Sun Jun 17 00:59:13 2007
@@ -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

Modified: trunk/libavformat/riff.h
==============================================================================
--- trunk/libavformat/riff.h	(original)
+++ trunk/libavformat/riff.h	Sun Jun 17 00:59:13 2007
@@ -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);
 

Modified: trunk/libavformat/rtp.h
==============================================================================
--- trunk/libavformat/rtp.h	(original)
+++ trunk/libavformat/rtp.h	Sun Jun 17 00:59:13 2007
@@ -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 */
 

Modified: trunk/libavformat/rtp_h264.h
==============================================================================
--- trunk/libavformat/rtp_h264.h	(original)
+++ trunk/libavformat/rtp_h264.h	Sun Jun 17 00:59:13 2007
@@ -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 */

Modified: trunk/libavformat/rtp_internal.h
==============================================================================
--- trunk/libavformat/rtp_internal.h	(original)
+++ trunk/libavformat/rtp_internal.h	Sun Jun 17 00:59:13 2007
@@ -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

Modified: trunk/libavformat/rtsp.h
==============================================================================
--- trunk/libavformat/rtsp.h	(original)
+++ trunk/libavformat/rtsp.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef RTSP_H
 #define RTSP_H
 
+#include <stdint.h>
+#include "avformat.h"
 #include "rtspcodes.h"
 
 enum RTSPProtocol {

Modified: trunk/libavutil/adler32.h
==============================================================================
--- trunk/libavutil/adler32.h	(original)
+++ trunk/libavutil/adler32.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef ADLER32_H
 #define ADLER32_H
 
+#include <stdint.h>
+
 unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
                                 unsigned int len);
 

Modified: trunk/libavutil/aes.h
==============================================================================
--- trunk/libavutil/aes.h	(original)
+++ trunk/libavutil/aes.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef AES_H
 #define AES_H
 
+#include <stdint.h>
+
 extern const int av_aes_size;
 
 struct AVAES;

Modified: trunk/libavutil/base64.h
==============================================================================
--- trunk/libavutil/base64.h	(original)
+++ trunk/libavutil/base64.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stdint.h>
+
 /**
  * decodes base64
  * param order as strncpy()

Modified: trunk/libavutil/bswap.h
==============================================================================
--- trunk/libavutil/bswap.h	(original)
+++ trunk/libavutil/bswap.h	Sun Jun 17 00:59:13 2007
@@ -26,6 +26,9 @@
 #ifndef __BSWAP_H__
 #define __BSWAP_H__
 
+#include <stdint.h>
+#include "common.h"
+
 #ifdef HAVE_BYTESWAP_H
 #include <byteswap.h>
 #else

Modified: trunk/libavutil/crc.h
==============================================================================
--- trunk/libavutil/crc.h	(original)
+++ trunk/libavutil/crc.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,9 @@
 #ifndef CRC_H
 #define CRC_H
 
+#include <stdint.h>
+#include <sys/types.h>
+
 typedef uint32_t AVCRC;
 
 #if LIBAVUTIL_VERSION_INT  < (50<<16)

Modified: trunk/libavutil/fifo.h
==============================================================================
--- trunk/libavutil/fifo.h	(original)
+++ trunk/libavutil/fifo.h	Sun Jun 17 00:59:13 2007
@@ -24,6 +24,8 @@
 #ifndef FIFO_H
 #define FIFO_H
 
+#include <stdint.h>
+
 typedef struct AVFifoBuffer {
     uint8_t *buffer;
     uint8_t *rptr, *wptr, *end;

Modified: trunk/libavutil/integer.h
==============================================================================
--- trunk/libavutil/integer.h	(original)
+++ trunk/libavutil/integer.h	Sun Jun 17 00:59:13 2007
@@ -29,6 +29,8 @@
 #ifndef INTEGER_H
 #define INTEGER_H
 
+#include <stdint.h>
+
 #define AV_INTEGER_SIZE 8
 
 typedef struct AVInteger{

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	(original)
+++ trunk/libavutil/internal.h	Sun Jun 17 00:59:13 2007
@@ -26,6 +26,9 @@
 #ifndef INTERNAL_H
 #define INTERNAL_H
 
+#include <stdint.h>
+#include <assert.h>
+
 #ifndef attribute_used
 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
 #    define attribute_used __attribute__((used))

Modified: trunk/libavutil/intreadwrite.h
==============================================================================
--- trunk/libavutil/intreadwrite.h	(original)
+++ trunk/libavutil/intreadwrite.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
 #ifndef INTREADWRITE_H
 #define INTREADWRITE_H
 
+#include <stdint.h>
+
 #ifdef __GNUC__
 
 struct unaligned_64 { uint64_t l; } __attribute__((packed));

Modified: trunk/libavutil/md5.h
==============================================================================
--- trunk/libavutil/md5.h	(original)
+++ trunk/libavutil/md5.h	Sun Jun 17 00:59:13 2007
@@ -21,6 +21,8 @@
 #ifndef MD5_H
 #define MD5_H
 
+#include <stdint.h>
+
 extern const int av_md5_size;
 
 struct AVMD5;

Modified: trunk/libavutil/rational.h
==============================================================================
--- trunk/libavutil/rational.h	(original)
+++ trunk/libavutil/rational.h	Sun Jun 17 00:59:13 2007
@@ -29,6 +29,8 @@
 #ifndef RATIONAL_H
 #define RATIONAL_H
 
+#include <stdint.h>
+
 /**
  * Rational number num/den.
  */

Modified: trunk/libavutil/sha1.h
==============================================================================
--- trunk/libavutil/sha1.h	(original)
+++ trunk/libavutil/sha1.h	Sun Jun 17 00:59:13 2007
@@ -1,6 +1,8 @@
 #ifndef AV_SHA1_H
 #define AV_SHA1_H
 
+#include <stdint.h>
+
 extern const int av_sha1_size;
 
 struct AVSHA1;

Modified: trunk/libavutil/softfloat.h
==============================================================================
--- trunk/libavutil/softfloat.h	(original)
+++ trunk/libavutil/softfloat.h	Sun Jun 17 00:59:13 2007
@@ -19,6 +19,8 @@
  *
  */
 
+#include <stdint.h>
+
 #define MIN_EXP -126
 #define MAX_EXP  126
 #define ONE_BITS 29




More information about the ffmpeg-cvslog mailing list