aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2017-04-29 00:34:11 +0000
committerDiego Biurrun <diego@biurrun.de>2017-05-02 18:38:26 +0200
commit73fc82f3434d9b68f0948700c4fd8f5056ae5afe (patch)
treec94f2b97c0c32b4a2dc35d594150ff3bd0fb89c6 /libavcodec
parentedbf0fffb15dde7a1de70b05855529d5fc769f14 (diff)
downloadffmpeg-73fc82f3434d9b68f0948700c4fd8f5056ae5afe.tar.gz
vlc: Add header #include when the types are used
Do not rely on indirectly including it from bitstream.h. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/4xm.c1
-rw-r--r--libavcodec/atrac3.c1
-rw-r--r--libavcodec/atrac3plus.c1
-rw-r--r--libavcodec/bink.c1
-rw-r--r--libavcodec/cfhd.h1
-rw-r--r--libavcodec/clearvideo.c1
-rw-r--r--libavcodec/cook.c1
-rw-r--r--libavcodec/faxcompr.c1
-rw-r--r--libavcodec/g2meet.c1
-rw-r--r--libavcodec/hqx.h1
-rw-r--r--libavcodec/imc.c1
-rw-r--r--libavcodec/indeo2.c1
-rw-r--r--libavcodec/indeo4.c1
-rw-r--r--libavcodec/indeo5.c1
-rw-r--r--libavcodec/ivi.h1
-rw-r--r--libavcodec/mimic.c1
-rw-r--r--libavcodec/mlpdec.c1
-rw-r--r--libavcodec/motionpixels.c1
-rw-r--r--libavcodec/mpc7.c1
-rw-r--r--libavcodec/mpc8.c1
-rw-r--r--libavcodec/qdm2.c1
-rw-r--r--libavcodec/smacker.c1
-rw-r--r--libavcodec/truemotion2.c1
-rw-r--r--libavcodec/tscc2.c1
-rw-r--r--libavcodec/utvideodec.c1
-rw-r--r--libavcodec/vorbisdec.c1
-rw-r--r--libavcodec/wma.h1
-rw-r--r--libavcodec/wmavoice.c1
-rw-r--r--libavcodec/wnv1.c1
29 files changed, 29 insertions, 0 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index b419bfa268..4a9a14a79b 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -36,6 +36,7 @@
#include "bswapdsp.h"
#include "bytestream.h"
#include "internal.h"
+#include "vlc.h"
#define BLOCK_TYPE_VLC_BITS 5
#define ACDC_VLC_BITS 9
diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c
index 2a703ca46e..d0661c83fc 100644
--- a/libavcodec/atrac3.c
+++ b/libavcodec/atrac3.c
@@ -44,6 +44,7 @@
#include "bytestream.h"
#include "fft.h"
#include "internal.h"
+#include "vlc.h"
#include "atrac.h"
#include "atrac3data.h"
diff --git a/libavcodec/atrac3plus.c b/libavcodec/atrac3plus.c
index e3c2504178..9b7b28bb9b 100644
--- a/libavcodec/atrac3plus.c
+++ b/libavcodec/atrac3plus.c
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bitstream.h"
+#include "vlc.h"
#include "atrac3plus.h"
#include "atrac3plus_data.h"
diff --git a/libavcodec/bink.c b/libavcodec/bink.c
index 84388b86aa..011d2d8e22 100644
--- a/libavcodec/bink.c
+++ b/libavcodec/bink.c
@@ -33,6 +33,7 @@
#include "hpeldsp.h"
#include "internal.h"
#include "mathops.h"
+#include "vlc.h"
#define BINK_FLAG_ALPHA 0x00100000
#define BINK_FLAG_GRAY 0x00020000
diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h
index c5da0b6ec7..27f047d3e8 100644
--- a/libavcodec/cfhd.h
+++ b/libavcodec/cfhd.h
@@ -25,6 +25,7 @@
#include "avcodec.h"
#include "bitstream.h"
+#include "vlc.h"
#define VLC_BITS 9
#define SUBBAND_COUNT 10
diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c
index 08bf2cb6da..7c5143937f 100644
--- a/libavcodec/clearvideo.c
+++ b/libavcodec/clearvideo.c
@@ -29,6 +29,7 @@
#include "bytestream.h"
#include "idctdsp.h"
#include "internal.h"
+#include "vlc.h"
#define NUM_DC_CODES 127
#define NUM_AC_CODES 103
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index c3304eae2e..bd8ad1d1da 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -52,6 +52,7 @@
#include "fft.h"
#include "internal.h"
#include "sinewin.h"
+#include "vlc.h"
#include "cookdata.h"
diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index 9eb4e37999..0a079fc992 100644
--- a/libavcodec/faxcompr.c
+++ b/libavcodec/faxcompr.c
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "bitstream.h"
#include "put_bits.h"
+#include "vlc.h"
#include "faxcompr.h"
#define CCITT_SYMS 104
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index d7dc976153..93befb4809 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -39,6 +39,7 @@
#include "internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
+#include "vlc.h"
#define EPIC_PIX_STACK_SIZE 1024
#define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1)
diff --git a/libavcodec/hqx.h b/libavcodec/hqx.h
index e8f7c627fb..f35721a06c 100644
--- a/libavcodec/hqx.h
+++ b/libavcodec/hqx.h
@@ -28,6 +28,7 @@
#include "bitstream.h"
#include "hqxdsp.h"
+#include "vlc.h"
enum HQXACMode {
HQX_AC_Q0 = 0,
diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index 145b2d56fc..100e6f8941 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -44,6 +44,7 @@
#include "fft.h"
#include "internal.h"
#include "sinewin.h"
+#include "vlc.h"
#include "imcdata.h"
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index 811056dbfc..64e92d760f 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.c
@@ -32,6 +32,7 @@
#include "indeo2data.h"
#include "internal.h"
#include "mathops.h"
+#include "vlc.h"
typedef struct Ir2Context{
AVCodecContext *avctx;
diff --git a/libavcodec/indeo4.c b/libavcodec/indeo4.c
index 4b3f903e3b..37b5da8508 100644
--- a/libavcodec/indeo4.c
+++ b/libavcodec/indeo4.c
@@ -34,6 +34,7 @@
#include "internal.h"
#include "ivi.h"
#include "ivi_dsp.h"
+#include "vlc.h"
#define IVI4_PIC_SIZE_ESC 7
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 70ae1d324b..38907eb056 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -33,6 +33,7 @@
#include "ivi.h"
#include "ivi_dsp.h"
#include "indeo5data.h"
+#include "vlc.h"
/**
* Indeo5 frame types.
diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h
index bbc8842340..6fde8a671a 100644
--- a/libavcodec/ivi.h
+++ b/libavcodec/ivi.h
@@ -33,6 +33,7 @@
#include "avcodec.h"
#include "bitstream.h"
+#include "vlc.h"
/**
* Indeo 4 frame types.
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c
index 31d07ecd50..da8289e411 100644
--- a/libavcodec/mimic.c
+++ b/libavcodec/mimic.c
@@ -32,6 +32,7 @@
#include "hpeldsp.h"
#include "idctdsp.h"
#include "thread.h"
+#include "vlc.h"
#define MIMIC_HEADER_SIZE 20
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index 4f6675a3ca..b377fd7e2b 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -39,6 +39,7 @@
#include "mlpdsp.h"
#include "mlp.h"
#include "config.h"
+#include "vlc.h"
/** number of bits used for VLC lookup - longest Huffman code is 9 */
#if ARCH_ARM
diff --git a/libavcodec/motionpixels.c b/libavcodec/motionpixels.c
index da4c141db6..66ec5f5009 100644
--- a/libavcodec/motionpixels.c
+++ b/libavcodec/motionpixels.c
@@ -23,6 +23,7 @@
#include "bitstream.h"
#include "bswapdsp.h"
#include "internal.h"
+#include "vlc.h"
#define MAX_HUFF_CODES 16
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 66a6162ec5..ebc3f5293b 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -33,6 +33,7 @@
#include "bitstream.h"
#include "internal.h"
#include "mpegaudiodsp.h"
+#include "vlc.h"
#include "mpc.h"
#include "mpc7data.h"
diff --git a/libavcodec/mpc8.c b/libavcodec/mpc8.c
index f55fd57824..649eb02e2e 100644
--- a/libavcodec/mpc8.c
+++ b/libavcodec/mpc8.c
@@ -32,6 +32,7 @@
#include "bitstream.h"
#include "internal.h"
#include "mpegaudiodsp.h"
+#include "vlc.h"
#include "mpc.h"
#include "mpc8data.h"
diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c
index 00c952d51a..668e513a66 100644
--- a/libavcodec/qdm2.c
+++ b/libavcodec/qdm2.c
@@ -44,6 +44,7 @@
#include "mpegaudio.h"
#include "mpegaudiodsp.h"
#include "rdft.h"
+#include "vlc.h"
#include "qdm2data.h"
#include "qdm2_tablegen.h"
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 2abf7c1c5a..c4b4bc735d 100644
--- a/libavcodec/smacker.c
+++ b/libavcodec/smacker.c
@@ -39,6 +39,7 @@
#include "bytestream.h"
#include "internal.h"
#include "mathops.h"
+#include "vlc.h"
#define SMKTREE_BITS 9
#define SMK_NODE 0x80000000
diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c
index 333451cb7c..cc3b0b76e0 100644
--- a/libavcodec/truemotion2.c
+++ b/libavcodec/truemotion2.c
@@ -31,6 +31,7 @@
#include "bswapdsp.h"
#include "bytestream.h"
#include "internal.h"
+#include "vlc.h"
#define TM2_ESCAPE 0x80000000
#define TM2_DELTAS 64
diff --git a/libavcodec/tscc2.c b/libavcodec/tscc2.c
index 6081c72c30..28d6464258 100644
--- a/libavcodec/tscc2.c
+++ b/libavcodec/tscc2.c
@@ -33,6 +33,7 @@
#include "internal.h"
#include "mathops.h"
#include "tscc2data.h"
+#include "vlc.h"
typedef struct TSCC2Context {
AVCodecContext *avctx;
diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index ed6368e4cd..26b991ca7b 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -36,6 +36,7 @@
#include "internal.h"
#include "thread.h"
#include "utvideo.h"
+#include "vlc.h"
static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym)
{
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index 9289c82cf4..cc0f6f4a3e 100644
--- a/libavcodec/vorbisdec.c
+++ b/libavcodec/vorbisdec.c
@@ -32,6 +32,7 @@
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
+#include "vlc.h"
#include "vorbis.h"
#include "vorbisdsp.h"
#include "xiph.h"
diff --git a/libavcodec/wma.h b/libavcodec/wma.h
index 6d14fc66c6..80b82867a5 100644
--- a/libavcodec/wma.h
+++ b/libavcodec/wma.h
@@ -28,6 +28,7 @@
#include "bitstream.h"
#include "fft.h"
#include "put_bits.h"
+#include "vlc.h"
/* size of blocks */
#define BLOCK_MIN_BITS 7
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index cf9884108c..8c7ec7b3d6 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -43,6 +43,7 @@
#include "dct.h"
#include "rdft.h"
#include "sinewin.h"
+#include "vlc.h"
#define MAX_BLOCKS 8 ///< maximum number of blocks per frame
#define MAX_LSPS 16 ///< maximum filter order
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index e973f7ecc5..f498c20b47 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -28,6 +28,7 @@
#include "bitstream.h"
#include "internal.h"
#include "mathops.h"
+#include "vlc.h"
typedef struct WNV1Context {