History

avfilter/internal: Don't include video.h

internal.h does not depend on video.h (and should not depend on it) and therefore should not include video.h at all; instead all users of video.h should include it directly. Doing so also avoids unnecessary video.h inclusions in files that don't need it, like most audio filters.

Andreas Rheinhardt committed 3 years ago

Commit 6d156431 parent 50ea73860 files · +61 −3Browse files

Showing the changes to libavfilter/avfilter.c (1 of 60 files). Show all

Unified · Split

libavfilter/avfilter.c+1−0
@@ -43,6 +43,7 @@ · 42 unmodified lines
43#include "formats.h"43#include "formats.h"
44#include "framepool.h"44#include "framepool.h"
45#include "internal.h"45#include "internal.h"
46#include "video.h"
46 47
47static void tlog_ref(void *ctx, AVFrame *ref, int end)48static void tlog_ref(void *ctx, AVFrame *ref, int end)
48{49{

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