summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-02 01:37:51 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-04 03:03:25 +0200
commit6e66e2c321b3247b81b6f8a0540d20958f570b6d (patch)
treefe89e159319e3d481c868bc556cc507ce349513b
parente0b84d10696c818e4c7bdc3314ba14cc3cedde29 (diff)
avfilter/internal: Don't include framepool.h, thread.h
They are not used by the header at all and only used by very few files; so include the headers in their users instead of in internal.h. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavfilter/audio.c1
-rw-r--r--libavfilter/avfilter.c1
-rw-r--r--libavfilter/internal.h2
-rw-r--r--libavfilter/video.c1
4 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index 5996f607b2..0deed5683b 100644
--- a/libavfilter/audio.c
+++ b/libavfilter/audio.c
@@ -25,6 +25,7 @@
#include "audio.h"
#include "avfilter.h"
+#include "framepool.h"
#include "internal.h"
#define BUFFER_ALIGN 0
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 87f04dfc57..24de8ebee3 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -41,6 +41,7 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
+#include "framepool.h"
#include "internal.h"
#include "libavutil/ffversion.h"
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 1bcfb830a1..a1adb8a8fe 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -27,9 +27,7 @@
#include "libavutil/internal.h"
#include "avfilter.h"
#include "formats.h"
-#include "framepool.h"
#include "framequeue.h"
-#include "thread.h"
#include "version.h"
#include "video.h"
#include "libavcodec/avcodec.h"
diff --git a/libavfilter/video.c b/libavfilter/video.c
index 0771268c40..810cc87f52 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -28,6 +28,7 @@
#include "libavutil/imgutils.h"
#include "avfilter.h"
+#include "framepool.h"
#include "internal.h"
#include "video.h"