Browse code

put_bits: Remove unused includes

This requires adding includes to other files that relied on these being
included implicitly.

Vittorio Giovara authored on 2014/02/26 10:26:29
Showing 8 changed files
... ...
@@ -31,12 +31,14 @@
31 31
 #include <stdint.h>
32 32
 
33 33
 #include "libavutil/float_dsp.h"
34
+
34 35
 #include "ac3.h"
35 36
 #include "ac3dsp.h"
36 37
 #include "avcodec.h"
37 38
 #include "dsputil.h"
38
-#include "put_bits.h"
39 39
 #include "fft.h"
40
+#include "mathops.h"
41
+#include "put_bits.h"
40 42
 
41 43
 #ifndef CONFIG_AC3ENC_FLOAT
42 44
 #define CONFIG_AC3ENC_FLOAT 0
... ...
@@ -21,8 +21,10 @@
21 21
 #include <stdint.h>
22 22
 #include <string.h>
23 23
 
24
-#include "put_bits.h"
24
+#include "libavutil/error.h"
25
+
25 26
 #include "dca.h"
27
+#include "put_bits.h"
26 28
 
27 29
 const uint32_t avpriv_dca_sample_rates[16] =
28 30
 {
... ...
@@ -26,8 +26,9 @@
26 26
  */
27 27
 
28 28
 #include "avcodec.h"
29
-#include "put_bits.h"
30 29
 #include "lzw.h"
30
+#include "mathops.h"
31
+#include "put_bits.h"
31 32
 
32 33
 #define LZW_MAXBITS 12
33 34
 #define LZW_SIZTABLE (1<<LZW_MAXBITS)
... ...
@@ -33,10 +33,11 @@
33 33
 #ifndef AVCODEC_MJPEG_H
34 34
 #define AVCODEC_MJPEG_H
35 35
 
36
+#include "libavutil/internal.h"
37
+
36 38
 #include "avcodec.h"
37 39
 #include "put_bits.h"
38 40
 
39
-
40 41
 /* JPEG marker codes */
41 42
 typedef enum {
42 43
     /* start of frame */
... ...
@@ -35,13 +35,15 @@
35 35
  * http://wiki.multimedia.cx/index.php?title=Nellymoser
36 36
  */
37 37
 
38
+#include "libavutil/common.h"
38 39
 #include "libavutil/float_dsp.h"
39 40
 #include "libavutil/mathematics.h"
40
-#include "nellymoser.h"
41
-#include "avcodec.h"
41
+
42 42
 #include "audio_frame_queue.h"
43
+#include "avcodec.h"
43 44
 #include "fft.h"
44 45
 #include "internal.h"
46
+#include "nellymoser.h"
45 47
 #include "sinewin.h"
46 48
 
47 49
 #define BITSTREAM_WRITER_LE
... ...
@@ -27,15 +27,10 @@
27 27
 #define AVCODEC_PUT_BITS_H
28 28
 
29 29
 #include <stdint.h>
30
-#include <stdlib.h>
30
+#include <stddef.h>
31 31
 #include <assert.h>
32 32
 
33
-#include "libavutil/bswap.h"
34
-#include "libavutil/common.h"
35 33
 #include "libavutil/intreadwrite.h"
36
-#include "libavutil/log.h"
37
-#include "mathops.h"
38
-#include "config.h"
39 34
 
40 35
 typedef struct PutBitContext {
41 36
     uint32_t bit_buf;
... ...
@@ -29,9 +29,10 @@
29 29
 
30 30
 #include "avcodec.h"
31 31
 #include "audio_frame_queue.h"
32
+#include "celp_filters.h"
32 33
 #include "internal.h"
34
+#include "mathops.h"
33 35
 #include "put_bits.h"
34
-#include "celp_filters.h"
35 36
 #include "ra144.h"
36 37
 
37 38
 
... ...
@@ -25,9 +25,11 @@
25 25
  */
26 26
 
27 27
 #include <float.h>
28
+
28 29
 #include "avcodec.h"
29 30
 #include "internal.h"
30 31
 #include "fft.h"
32
+#include "mathops.h"
31 33
 #include "vorbis.h"
32 34
 #include "vorbis_enc_data.h"
33 35