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/f_loop.c (1 of 171 files). Show all
Unified · Split
| @@ -21,13 +21,11 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "config_components.h" |
| 22 | 22 | |
| 23 | 23 | #include "libavutil/audio_fifo.h" |
| 24 | −#include "libavutil/fifo.h" | |
| 25 | 24 | #include "libavutil/internal.h" |
| 26 | 25 | #include "libavutil/opt.h" |
| 27 | 26 | #include "avfilter.h" |
| 28 | 27 | #include "audio.h" |
| 29 | 28 | #include "filters.h" |
| 30 | −#include "formats.h" | |
| 31 | 29 | #include "internal.h" |
| 32 | 30 | #include "video.h" |
| 33 | 31 | |