put_bits: Remove unused includes

This requires adding includes to other files that relied on these being
included implicitly.
pull/61/merge
Vittorio Giovara 11 years ago
parent 5397386eff
commit 973dc4e8d4
  1. 4
      libavcodec/ac3enc.h
  2. 4
      libavcodec/dca.c
  3. 3
      libavcodec/lzwenc.c
  4. 3
      libavcodec/mjpeg.h
  5. 6
      libavcodec/nellymoserenc.c
  6. 7
      libavcodec/put_bits.h
  7. 3
      libavcodec/ra144enc.c
  8. 2
      libavcodec/vorbisenc.c

@ -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 @@
#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 @@
*/ */
#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 @@
#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 @@
* 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 @@
#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 @@
#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 @@
*/ */
#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"

Loading…
Cancel
Save