A filter needs formats.h iff it uses FILTER_QUERY_FUNC(); since lots of filters have been switched to use something else than FILTER_QUERY_FUNC, they don't need it any more, but removing this header has been forgotten. This commit does this; files with formats.h inclusion went down from 304 to 139 here (it were 449 before the preceding commit). While just at it, also improve the other headers a bit.
Showing the changes to libavfilter/af_afreqshift.c (1 of 171 files). Show all
Unified · Split
| @@ -24,7 +24,6 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "libavutil/opt.h" |
| 25 | 25 | #include "avfilter.h" |
| 26 | 26 | #include "audio.h" |
| 27 | −#include "formats.h" | |
| 28 | 27 | |
| 29 | 28 | #define MAX_NB_COEFFS 16 |
| 30 | 29 | |