From be8bc645b6b63c9bfdc4a4c3e256f3bae5133e2a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 28 Sep 2021 00:27:44 +0200 Subject: avfilter/opencl: Store format in filter, remove query function Signed-off-by: Andreas Rheinhardt --- libavfilter/opencl.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libavfilter/opencl.c') 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) { -- cgit v1.2.3