summaryrefslogtreecommitdiff
path: root/libavfilter/opencl.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-28 00:27:44 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 18:58:29 +0200
commitbe8bc645b6b63c9bfdc4a4c3e256f3bae5133e2a (patch)
treea7341c334065ac355c0b2353378e2adda4384600 /libavfilter/opencl.c
parent94047d6aa505994e7d4a165b31692c46d7abab2e (diff)
avfilter/opencl: Store format in filter, remove query function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/opencl.c')
-rw-r--r--libavfilter/opencl.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c
index f479182140..8174537c2b 100644
--- a/libavfilter/opencl.c
+++ b/libavfilter/opencl.c
@@ -25,16 +25,6 @@
#include "formats.h"
#include "opencl.h"
-int ff_opencl_filter_query_formats(AVFilterContext *avctx)
-{
- const static enum AVPixelFormat pix_fmts[] = {
- AV_PIX_FMT_OPENCL,
- AV_PIX_FMT_NONE,
- };
-
- return ff_set_common_formats_from_list(avctx, pix_fmts);
-}
-
static int opencl_filter_set_device(AVFilterContext *avctx,
AVBufferRef *device)
{