Commit 973dc4e8 authored by Vittorio Giovara's avatar Vittorio Giovara

put_bits: Remove unused includes

This requires adding includes to other files that relied on these being
included implicitly.
parent 5397386e
...@@ -31,12 +31,14 @@ ...@@ -31,12 +31,14 @@
#include <stdint.h> #include <stdint.h>
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "ac3.h" #include "ac3.h"
#include "ac3dsp.h" #include "ac3dsp.h"
#include "avcodec.h" #include "avcodec.h"
#include "dsputil.h" #include "dsputil.h"
#include "put_bits.h"
#include "fft.h" #include "fft.h"
#include "mathops.h"
#include "put_bits.h"
#ifndef CONFIG_AC3ENC_FLOAT #ifndef CONFIG_AC3ENC_FLOAT
#define CONFIG_AC3ENC_FLOAT 0 #define CONFIG_AC3ENC_FLOAT 0
......
...@@ -21,8 +21,10 @@ ...@@ -21,8 +21,10 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include "put_bits.h" #include "libavutil/error.h"
#include "dca.h" #include "dca.h"
#include "put_bits.h"
const uint32_t avpriv_dca_sample_rates[16] = const uint32_t avpriv_dca_sample_rates[16] =
{ {
......
...@@ -26,8 +26,9 @@ ...@@ -26,8 +26,9 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "put_bits.h"
#include "lzw.h" #include "lzw.h"
#include "mathops.h"
#include "put_bits.h"
#define LZW_MAXBITS 12 #define LZW_MAXBITS 12
#define LZW_SIZTABLE (1<<LZW_MAXBITS) #define LZW_SIZTABLE (1<<LZW_MAXBITS)
......
...@@ -33,10 +33,11 @@ ...@@ -33,10 +33,11 @@
#ifndef AVCODEC_MJPEG_H #ifndef AVCODEC_MJPEG_H
#define AVCODEC_MJPEG_H #define AVCODEC_MJPEG_H
#include "libavutil/internal.h"
#include "avcodec.h" #include "avcodec.h"
#include "put_bits.h" #include "put_bits.h"
/* JPEG marker codes */ /* JPEG marker codes */
typedef enum { typedef enum {
/* start of frame */ /* start of frame */
......
...@@ -35,13 +35,15 @@ ...@@ -35,13 +35,15 @@
* http://wiki.multimedia.cx/index.php?title=Nellymoser * http://wiki.multimedia.cx/index.php?title=Nellymoser
*/ */
#include "libavutil/common.h"
#include "libavutil/float_dsp.h" #include "libavutil/float_dsp.h"
#include "libavutil/mathematics.h" #include "libavutil/mathematics.h"
#include "nellymoser.h"
#include "avcodec.h"
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "avcodec.h"
#include "fft.h" #include "fft.h"
#include "internal.h" #include "internal.h"
#include "nellymoser.h"
#include "sinewin.h" #include "sinewin.h"
#define BITSTREAM_WRITER_LE #define BITSTREAM_WRITER_LE
......
...@@ -27,15 +27,10 @@ ...@@ -27,15 +27,10 @@
#define AVCODEC_PUT_BITS_H #define AVCODEC_PUT_BITS_H
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stddef.h>
#include <assert.h> #include <assert.h>
#include "libavutil/bswap.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "mathops.h"
#include "config.h"
typedef struct PutBitContext { typedef struct PutBitContext {
uint32_t bit_buf; uint32_t bit_buf;
......
...@@ -29,9 +29,10 @@ ...@@ -29,9 +29,10 @@
#include "avcodec.h" #include "avcodec.h"
#include "audio_frame_queue.h" #include "audio_frame_queue.h"
#include "celp_filters.h"
#include "internal.h" #include "internal.h"
#include "mathops.h"
#include "put_bits.h" #include "put_bits.h"
#include "celp_filters.h"
#include "ra144.h" #include "ra144.h"
......
...@@ -25,9 +25,11 @@ ...@@ -25,9 +25,11 @@
*/ */
#include <float.h> #include <float.h>
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "fft.h" #include "fft.h"
#include "mathops.h"
#include "vorbis.h" #include "vorbis.h"
#include "vorbis_enc_data.h" #include "vorbis_enc_data.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment