From 973dc4e8d4ae0def273c33bac354ddc6d8e0c470 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 26 Feb 2014 02:26:29 +0100 Subject: put_bits: Remove unused includes This requires adding includes to other files that relied on these being included implicitly. --- libavcodec/ac3enc.h | 4 +++- libavcodec/dca.c | 4 +++- libavcodec/lzwenc.c | 3 ++- libavcodec/mjpeg.h | 3 ++- libavcodec/nellymoserenc.c | 6 ++++-- libavcodec/put_bits.h | 7 +------ libavcodec/ra144enc.c | 3 ++- libavcodec/vorbisenc.c | 2 ++ 8 files changed, 19 insertions(+), 13 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index be9dcf21c1..a53353609b 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -31,12 +31,14 @@ #include #include "libavutil/float_dsp.h" + #include "ac3.h" #include "ac3dsp.h" #include "avcodec.h" #include "dsputil.h" -#include "put_bits.h" #include "fft.h" +#include "mathops.h" +#include "put_bits.h" #ifndef CONFIG_AC3ENC_FLOAT #define CONFIG_AC3ENC_FLOAT 0 diff --git a/libavcodec/dca.c b/libavcodec/dca.c index 308211f01a..3fab17354c 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -21,8 +21,10 @@ #include #include -#include "put_bits.h" +#include "libavutil/error.h" + #include "dca.h" +#include "put_bits.h" const uint32_t avpriv_dca_sample_rates[16] = { diff --git a/libavcodec/lzwenc.c b/libavcodec/lzwenc.c index cb064e7936..7c37bf2094 100644 --- a/libavcodec/lzwenc.c +++ b/libavcodec/lzwenc.c @@ -26,8 +26,9 @@ */ #include "avcodec.h" -#include "put_bits.h" #include "lzw.h" +#include "mathops.h" +#include "put_bits.h" #define LZW_MAXBITS 12 #define LZW_SIZTABLE (1< -#include +#include #include -#include "libavutil/bswap.h" -#include "libavutil/common.h" #include "libavutil/intreadwrite.h" -#include "libavutil/log.h" -#include "mathops.h" -#include "config.h" typedef struct PutBitContext { uint32_t bit_buf; diff --git a/libavcodec/ra144enc.c b/libavcodec/ra144enc.c index 9f953d4f01..7627adc0a7 100644 --- a/libavcodec/ra144enc.c +++ b/libavcodec/ra144enc.c @@ -29,9 +29,10 @@ #include "avcodec.h" #include "audio_frame_queue.h" +#include "celp_filters.h" #include "internal.h" +#include "mathops.h" #include "put_bits.h" -#include "celp_filters.h" #include "ra144.h" diff --git a/libavcodec/vorbisenc.c b/libavcodec/vorbisenc.c index f16060e450..830e5d184f 100644 --- a/libavcodec/vorbisenc.c +++ b/libavcodec/vorbisenc.c @@ -25,9 +25,11 @@ */ #include + #include "avcodec.h" #include "internal.h" #include "fft.h" +#include "mathops.h" #include "vorbis.h" #include "vorbis_enc_data.h" -- cgit v1.2.1