Browse Source

include all prerequisites in header files

Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 17 years ago
parent
commit
99545457bf

+ 3 - 0
libavcodec/aac_ac3_parser.h

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

+ 2 - 0
libavcodec/atrac3data.h

@@ -25,6 +25,8 @@
  * Atrac 3 AKA RealAudio 8 compatible decoder data
  */
 
+#include <stdint.h>
+
 /* VLC tables */
 
 static const uint8_t huffcode1[9] = {

+ 5 - 0
libavcodec/bitstream.h

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

+ 2 - 0
libavcodec/bmp.h

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

+ 2 - 0
libavcodec/bytestream.h

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

+ 2 - 0
libavcodec/cookdata.h

@@ -26,6 +26,8 @@
  * Cook AKA RealAudio G2 compatible decoderdata
  */
 
+#include <stdint.h>
+
 /* various data tables */
 
 static const int expbits_tab[8] = {

+ 2 - 0
libavcodec/dcadata.h

@@ -24,6 +24,8 @@
  * @file dcadata.c
  */
 
+#include <stdint.h>
+
 /* Generic tables */
 
 static const uint32_t dca_sample_rates[16] =

+ 3 - 0
libavcodec/dcahuff.h

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

+ 2 - 0
libavcodec/dnxhddata.h

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

+ 3 - 0
libavcodec/dvdata.h

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

Some files were not shown because too many files changed in this diff