History

avfilter: Remove unnecessary formats.h inclusions

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.

Andreas Rheinhardt committed 3 years ago

Commit 19ffa2f1 parent 19af142171 files · +18 −273Browse files

Showing the changes to libavfilter/f_reverse.c (1 of 171 files). Show all

Unified · Split

libavfilter/f_reverse.c+0−3
@@ -20,11 +20,8 @@ · 19 unmodified lines
2020
2121 #include "config_components.h"
2222
23−#include "libavutil/opt.h"
2423 #include "avfilter.h"
25−#include "formats.h"
2624 #include "internal.h"
27−#include "video.h"
2825
2926 #define DEFAULT_LENGTH 300
3027

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t