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>
pull/364/head
Andreas Rheinhardt 3 years ago
parent e0b84d1069
commit 6e66e2c321
  1. 1
      libavfilter/audio.c
  2. 1
      libavfilter/avfilter.c
  3. 2
      libavfilter/internal.h
  4. 1
      libavfilter/video.c

@ -25,6 +25,7 @@
#include "audio.h"
#include "avfilter.h"
#include "framepool.h"
#include "internal.h"
#define BUFFER_ALIGN 0

@ -41,6 +41,7 @@
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
#include "framepool.h"
#include "internal.h"
#include "libavutil/ffversion.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"

@ -28,6 +28,7 @@
#include "libavutil/imgutils.h"
#include "avfilter.h"
#include "framepool.h"
#include "internal.h"
#include "video.h"

Loading…
Cancel
Save