You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	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:
		| @@ -28,6 +28,7 @@ | ||||
| #include "libavutil/avstring.h" | ||||
| #include "libswresample/swresample.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
| #include "libavutil/audioconvert.h" | ||||
| #include "libavutil/avstring.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -25,6 +25,7 @@ | ||||
|  | ||||
| #include "libswresample/swresample.h" // only for SWR_CH_MAX | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| #define QUEUE_SIZE 16 | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
|  | ||||
| #include "libswresample/swresample.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
| #include "libavutil/adler32.h" | ||||
| #include "libavutil/audioconvert.h" | ||||
| #include "libavutil/timestamp.h" | ||||
| #include "audio.h" | ||||
| #include "avfilter.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -24,6 +24,7 @@ | ||||
|  */ | ||||
|  | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
|  | ||||
| static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples) | ||||
| { | ||||
|   | ||||
| @@ -25,6 +25,7 @@ | ||||
|  | ||||
| #include "libavutil/eval.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| #define QUEUE_SIZE 16 | ||||
|   | ||||
| @@ -31,6 +31,7 @@ | ||||
|  | ||||
| #include "libavutil/audioconvert.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
|  | ||||
| #define NUMTAPS 64 | ||||
|  | ||||
|   | ||||
| @@ -31,6 +31,7 @@ | ||||
| #include "libavutil/avstring.h" | ||||
| #include "libavutil/opt.h" | ||||
| #include "libswresample/swresample.h" | ||||
| #include "audio.h" | ||||
| #include "avfilter.h" | ||||
|  | ||||
| #define MAX_CHANNELS 63 | ||||
|   | ||||
| @@ -25,6 +25,7 @@ | ||||
|  | ||||
| #include "libavutil/opt.h" | ||||
| #include "libavutil/timestamp.h" | ||||
| #include "audio.h" | ||||
| #include "avfilter.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -26,6 +26,7 @@ | ||||
|  | ||||
| #include "libavutil/audioconvert.h" | ||||
| #include "libavutil/eval.h" | ||||
| #include "audio.h" | ||||
| #include "avfilter.h" | ||||
|  | ||||
| typedef struct { | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| #include "libavutil/opt.h" | ||||
| #include "libavutil/parseutils.h" | ||||
| #include "avfilter.h" | ||||
| #include "audio.h" | ||||
| #include "internal.h" | ||||
|  | ||||
| static const char * const var_names[] = { | ||||
|   | ||||
| @@ -24,6 +24,7 @@ | ||||
| #include "libavutil/audioconvert.h" | ||||
| #include "libavutil/opt.h" | ||||
|  | ||||
| #include "audio.h" | ||||
| #include "avfilter.h" | ||||
| #include "internal.h" | ||||
|  | ||||
|   | ||||
| @@ -989,6 +989,4 @@ static inline void avfilter_insert_outpad(AVFilterContext *f, unsigned index, | ||||
|                         &f->output_pads, &f->outputs, p); | ||||
| } | ||||
|  | ||||
| #include "audio.h" | ||||
|  | ||||
| #endif /* AVFILTER_AVFILTER_H */ | ||||
|   | ||||
| @@ -27,6 +27,7 @@ | ||||
|  | ||||
| #include "avfilter.h" | ||||
| #include "internal.h" | ||||
| #include "audio.h" | ||||
| #include "avcodec.h" | ||||
| #include "buffersrc.h" | ||||
| #include "vsrc_buffer.h" | ||||
|   | ||||
| @@ -35,6 +35,7 @@ | ||||
| #include "libavutil/opt.h" | ||||
| #include "libavutil/imgutils.h" | ||||
| #include "libavformat/avformat.h" | ||||
| #include "audio.h" | ||||
| #include "avcodec.h" | ||||
| #include "avfilter.h" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user