lavfi: remove audio.h include from avfilter.h.

avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes.
This commit is contained in:
Clément Bœsch 2012-05-12 17:58:14 +02:00
parent db11fc5392
commit 4522df52aa
16 changed files with 15 additions and 2 deletions

View File

@ -28,6 +28,7 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libswresample/swresample.h" #include "libswresample/swresample.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
typedef struct { typedef struct {

View File

@ -26,6 +26,7 @@
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
typedef struct { typedef struct {

View File

@ -25,6 +25,7 @@
#include "libswresample/swresample.h" // only for SWR_CH_MAX #include "libswresample/swresample.h" // only for SWR_CH_MAX
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
#define QUEUE_SIZE 16 #define QUEUE_SIZE 16

View File

@ -26,6 +26,7 @@
#include "libswresample/swresample.h" #include "libswresample/swresample.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
typedef struct { typedef struct {

View File

@ -26,6 +26,7 @@
#include "libavutil/adler32.h" #include "libavutil/adler32.h"
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/timestamp.h" #include "libavutil/timestamp.h"
#include "audio.h"
#include "avfilter.h" #include "avfilter.h"
typedef struct { typedef struct {

View File

@ -24,6 +24,7 @@
*/ */
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples) static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples)
{ {

View File

@ -25,6 +25,7 @@
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
#define QUEUE_SIZE 16 #define QUEUE_SIZE 16

View File

@ -31,6 +31,7 @@
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#define NUMTAPS 64 #define NUMTAPS 64

View File

@ -31,6 +31,7 @@
#include "libavutil/avstring.h" #include "libavutil/avstring.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libswresample/swresample.h" #include "libswresample/swresample.h"
#include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#define MAX_CHANNELS 63 #define MAX_CHANNELS 63

View File

@ -25,6 +25,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/timestamp.h" #include "libavutil/timestamp.h"
#include "audio.h"
#include "avfilter.h" #include "avfilter.h"
typedef struct { typedef struct {

View File

@ -26,6 +26,7 @@
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/eval.h" #include "libavutil/eval.h"
#include "audio.h"
#include "avfilter.h" #include "avfilter.h"
typedef struct { typedef struct {

View File

@ -30,6 +30,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/parseutils.h" #include "libavutil/parseutils.h"
#include "avfilter.h" #include "avfilter.h"
#include "audio.h"
#include "internal.h" #include "internal.h"
static const char * const var_names[] = { static const char * const var_names[] = {

View File

@ -24,6 +24,7 @@
#include "libavutil/audioconvert.h" #include "libavutil/audioconvert.h"
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h" #include "avfilter.h"
#include "internal.h" #include "internal.h"

View File

@ -989,6 +989,4 @@ static inline void avfilter_insert_outpad(AVFilterContext *f, unsigned index,
&f->output_pads, &f->outputs, p); &f->output_pads, &f->outputs, p);
} }
#include "audio.h"
#endif /* AVFILTER_AVFILTER_H */ #endif /* AVFILTER_AVFILTER_H */

View File

@ -27,6 +27,7 @@
#include "avfilter.h" #include "avfilter.h"
#include "internal.h" #include "internal.h"
#include "audio.h"
#include "avcodec.h" #include "avcodec.h"
#include "buffersrc.h" #include "buffersrc.h"
#include "vsrc_buffer.h" #include "vsrc_buffer.h"

View File

@ -35,6 +35,7 @@
#include "libavutil/opt.h" #include "libavutil/opt.h"
#include "libavutil/imgutils.h" #include "libavutil/imgutils.h"
#include "libavformat/avformat.h" #include "libavformat/avformat.h"
#include "audio.h"
#include "avcodec.h" #include "avcodec.h"
#include "avfilter.h" #include "avfilter.h"