summaryrefslogtreecommitdiff
path: root/libavfilter/vf_chromakey_cuda.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-04 01:08:05 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-07 09:21:13 +0200
commit19ffa2ff2d76d51d0c00304c344cd79591bcfdd2 (patch)
tree86ea8b0c43a6021a05bc4d887716eb66e65128e1 /libavfilter/vf_chromakey_cuda.c
parent19af142d45309176e3c0e10c0cc5af2a52c8f104 (diff)
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. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_chromakey_cuda.c')
-rw-r--r--libavfilter/vf_chromakey_cuda.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/vf_chromakey_cuda.c b/libavfilter/vf_chromakey_cuda.c
index 113484279c..ac644caea7 100644
--- a/libavfilter/vf_chromakey_cuda.c
+++ b/libavfilter/vf_chromakey_cuda.c
@@ -20,9 +20,7 @@
#include <float.h>
#include <stdio.h>
-#include <string.h>
-#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
@@ -32,9 +30,7 @@
#include "libavutil/pixdesc.h"
#include "avfilter.h"
-#include "formats.h"
#include "internal.h"
-#include "video.h"
#include "cuda/load_helper.h"
static const enum AVPixelFormat supported_formats[] = {