History

vlc: Add header #include when the types are used

Do not rely on indirectly including it from bitstream.h.

Luca Barbato committed 9 years ago

Commit 73fc82f1 parent edbf0ff29 files · +29 −0Browse files

Unified · Split

29 files
  1. libavcodec/4xm.c +1 −0
  2. libavcodec/atrac3.c +1 −0
  3. libavcodec/atrac3plus.c +1 −0
  4. libavcodec/bink.c +1 −0
  5. libavcodec/cfhd.h +1 −0
  6. libavcodec/clearvideo.c +1 −0
  7. libavcodec/cook.c +1 −0
  8. libavcodec/faxcompr.c +1 −0
  9. libavcodec/g2meet.c +1 −0
  10. libavcodec/hqx.h +1 −0
  11. libavcodec/imc.c +1 −0
  12. libavcodec/indeo2.c +1 −0
  13. libavcodec/indeo4.c +1 −0
  14. libavcodec/indeo5.c +1 −0
  15. libavcodec/ivi.h +1 −0
  16. libavcodec/mimic.c +1 −0
  17. libavcodec/mlpdec.c +1 −0
  18. libavcodec/motionpixels.c +1 −0
  19. libavcodec/mpc7.c +1 −0
  20. libavcodec/mpc8.c +1 −0
  21. libavcodec/qdm2.c +1 −0
  22. libavcodec/smacker.c +1 −0
  23. libavcodec/truemotion2.c +1 −0
  24. libavcodec/tscc2.c +1 −0
  25. libavcodec/utvideodec.c +1 −0
  26. libavcodec/vorbisdec.c +1 −0
  27. libavcodec/wma.h +1 −0
  28. libavcodec/wmavoice.c +1 −0
  29. libavcodec/wnv1.c +1 −0
libavcodec/4xm.c+1−0
@@ -36,6 +36,7 @@ · 35 unmodified lines
3636 #include "bswapdsp.h"
3737 #include "bytestream.h"
3838 #include "internal.h"
39+#include "vlc.h"
3940
4041 #define BLOCK_TYPE_VLC_BITS 5
4142 #define ACDC_VLC_BITS 9
libavcodec/atrac3.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
4444 #include "bytestream.h"
4545 #include "fft.h"
4646 #include "internal.h"
47+#include "vlc.h"
4748
4849 #include "atrac.h"
4950 #include "atrac3data.h"
libavcodec/atrac3plus.c+1−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
2929
3030 #include "avcodec.h"
3131 #include "bitstream.h"
32+#include "vlc.h"
3233 #include "atrac3plus.h"
3334 #include "atrac3plus_data.h"
3435
libavcodec/bink.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333 #include "hpeldsp.h"
3434 #include "internal.h"
3535 #include "mathops.h"
36+#include "vlc.h"
3637
3738 #define BINK_FLAG_ALPHA 0x00100000
3839 #define BINK_FLAG_GRAY 0x00020000
libavcodec/cfhd.h+1−0
@@ -25,6 +25,7 @@ · 24 unmodified lines
2525
2626 #include "avcodec.h"
2727 #include "bitstream.h"
28+#include "vlc.h"
2829
2930 #define VLC_BITS 9
3031 #define SUBBAND_COUNT 10
libavcodec/clearvideo.c+1−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
2929 #include "bytestream.h"
3030 #include "idctdsp.h"
3131 #include "internal.h"
32+#include "vlc.h"
3233
3334 #define NUM_DC_CODES 127
3435 #define NUM_AC_CODES 103
libavcodec/cook.c+1−0
@@ -52,6 +52,7 @@ · 51 unmodified lines
5252 #include "fft.h"
5353 #include "internal.h"
5454 #include "sinewin.h"
55+#include "vlc.h"
5556
5657 #include "cookdata.h"
5758
libavcodec/faxcompr.c+1−0
@@ -27,6 +27,7 @@ · 26 unmodified lines
2727 #include "avcodec.h"
2828 #include "bitstream.h"
2929 #include "put_bits.h"
30+#include "vlc.h"
3031 #include "faxcompr.h"
3132
3233 #define CCITT_SYMS 104
libavcodec/g2meet.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
3939 #include "internal.h"
4040 #include "jpegtables.h"
4141 #include "mjpeg.h"
42+#include "vlc.h"
4243
4344 #define EPIC_PIX_STACK_SIZE 1024
4445 #define EPIC_PIX_STACK_MAX (EPIC_PIX_STACK_SIZE - 1)
libavcodec/hqx.h+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
2828
2929 #include "bitstream.h"
3030 #include "hqxdsp.h"
31+#include "vlc.h"
3132
3233 enum HQXACMode {
3334 HQX_AC_Q0 = 0,
libavcodec/imc.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
4444 #include "fft.h"
4545 #include "internal.h"
4646 #include "sinewin.h"
47+#include "vlc.h"
4748
4849 #include "imcdata.h"
4950
libavcodec/indeo2.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include "indeo2data.h"
3333 #include "internal.h"
3434 #include "mathops.h"
35+#include "vlc.h"
3536
3637 typedef struct Ir2Context{
3738 AVCodecContext *avctx;
libavcodec/indeo4.c+1−0
@@ -34,6 +34,7 @@ · 33 unmodified lines
3434 #include "internal.h"
3535 #include "ivi.h"
3636 #include "ivi_dsp.h"
37+#include "vlc.h"
3738
3839 #define IVI4_PIC_SIZE_ESC 7
3940
libavcodec/indeo5.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333 #include "ivi.h"
3434 #include "ivi_dsp.h"
3535 #include "indeo5data.h"
36+#include "vlc.h"
3637
3738 /**
3839 * Indeo5 frame types.
libavcodec/ivi.h+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333
3434 #include "avcodec.h"
3535 #include "bitstream.h"
36+#include "vlc.h"
3637
3738 /**
3839 * Indeo 4 frame types.
libavcodec/mimic.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include "hpeldsp.h"
3333 #include "idctdsp.h"
3434 #include "thread.h"
35+#include "vlc.h"
3536
3637 #define MIMIC_HEADER_SIZE 20
3738
libavcodec/mlpdec.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
3939 #include "mlpdsp.h"
4040 #include "mlp.h"
4141 #include "config.h"
42+#include "vlc.h"
4243
4344 /** number of bits used for VLC lookup - longest Huffman code is 9 */
4445 #if ARCH_ARM
libavcodec/motionpixels.c+1−0
@@ -23,6 +23,7 @@ · 22 unmodified lines
2323 #include "bitstream.h"
2424 #include "bswapdsp.h"
2525 #include "internal.h"
26+#include "vlc.h"
2627
2728 #define MAX_HUFF_CODES 16
2829
libavcodec/mpc7.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333 #include "bitstream.h"
3434 #include "internal.h"
3535 #include "mpegaudiodsp.h"
36+#include "vlc.h"
3637
3738 #include "mpc.h"
3839 #include "mpc7data.h"
libavcodec/mpc8.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include "bitstream.h"
3333 #include "internal.h"
3434 #include "mpegaudiodsp.h"
35+#include "vlc.h"
3536
3637 #include "mpc.h"
3738 #include "mpc8data.h"
libavcodec/qdm2.c+1−0
@@ -44,6 +44,7 @@ · 43 unmodified lines
4444 #include "mpegaudio.h"
4545 #include "mpegaudiodsp.h"
4646 #include "rdft.h"
47+#include "vlc.h"
4748
4849 #include "qdm2data.h"
4950 #include "qdm2_tablegen.h"
libavcodec/smacker.c+1−0
@@ -39,6 +39,7 @@ · 38 unmodified lines
3939 #include "bytestream.h"
4040 #include "internal.h"
4141 #include "mathops.h"
42+#include "vlc.h"
4243
4344 #define SMKTREE_BITS 9
4445 #define SMK_NODE 0x80000000
libavcodec/truemotion2.c+1−0
@@ -31,6 +31,7 @@ · 30 unmodified lines
3131 #include "bswapdsp.h"
3232 #include "bytestream.h"
3333 #include "internal.h"
34+#include "vlc.h"
3435
3536 #define TM2_ESCAPE 0x80000000
3637 #define TM2_DELTAS 64
libavcodec/tscc2.c+1−0
@@ -33,6 +33,7 @@ · 32 unmodified lines
3333 #include "internal.h"
3434 #include "mathops.h"
3535 #include "tscc2data.h"
36+#include "vlc.h"
3637
3738 typedef struct TSCC2Context {
3839 AVCodecContext *avctx;
libavcodec/utvideodec.c+1−0
@@ -36,6 +36,7 @@ · 35 unmodified lines
3636 #include "internal.h"
3737 #include "thread.h"
3838 #include "utvideo.h"
39+#include "vlc.h"
3940
4041 static int build_huff10(const uint8_t *src, VLC *vlc, int *fsym)
4142 {
libavcodec/vorbisdec.c+1−0
@@ -32,6 +32,7 @@ · 31 unmodified lines
3232 #include "fft.h"
3333 #include "get_bits.h"
3434 #include "internal.h"
35+#include "vlc.h"
3536 #include "vorbis.h"
3637 #include "vorbisdsp.h"
3738 #include "xiph.h"
libavcodec/wma.h+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
2828 #include "bitstream.h"
2929 #include "fft.h"
3030 #include "put_bits.h"
31+#include "vlc.h"
3132
3233 /* size of blocks */
3334 #define BLOCK_MIN_BITS 7
libavcodec/wmavoice.c+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
4343 #include "dct.h"
4444 #include "rdft.h"
4545 #include "sinewin.h"
46+#include "vlc.h"
4647
4748 #define MAX_BLOCKS 8 ///< maximum number of blocks per frame
4849 #define MAX_LSPS 16 ///< maximum filter order
libavcodec/wnv1.c+1−0
@@ -28,6 +28,7 @@ · 27 unmodified lines
2828 #include "bitstream.h"
2929 #include "internal.h"
3030 #include "mathops.h"
31+#include "vlc.h"
3132
3233
3334 typedef struct WNV1Context {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t