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_reverse.c (1 of 171 files). Show all
Unified · Split
| @@ -20,11 +20,8 @@ · 19 unmodified lines | ||
| 20 | 20 | |
| 21 | 21 | #include "config_components.h" |
| 22 | 22 | |
| 23 | −#include "libavutil/opt.h" | |
| 24 | 23 | #include "avfilter.h" |
| 25 | −#include "formats.h" | |
| 26 | 24 | #include "internal.h" |
| 27 | −#include "video.h" | |
| 28 | 25 | |
| 29 | 26 | #define DEFAULT_LENGTH 300 |
| 30 | 27 | |