diff options
-rw-r--r-- | libavfilter/vf_signature.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavfilter/vf_signature.c b/libavfilter/vf_signature.c index 03b53f9a4c..2b55f7fe67 100644 --- a/libavfilter/vf_signature.c +++ b/libavfilter/vf_signature.c @@ -69,8 +69,6 @@ static const AVOption signature_options[] = { AVFILTER_DEFINE_CLASS(signature); -static int query_formats(AVFilterContext *ctx) -{ /* all formats with a separate gray value */ static const enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_GRAY8, @@ -84,9 +82,6 @@ static int query_formats(AVFilterContext *ctx) AV_PIX_FMT_NONE }; - return ff_set_common_formats_from_list(ctx, pix_fmts); -} - static int config_input(AVFilterLink *inlink) { AVFilterContext *ctx = inlink->dst; @@ -762,6 +757,6 @@ const AVFilter ff_vf_signature = { .uninit = uninit, FILTER_OUTPUTS(signature_outputs), .inputs = NULL, - FILTER_QUERY_FUNC(query_formats), + FILTER_PIXFMTS_ARRAY(pix_fmts), .flags = AVFILTER_FLAG_DYNAMIC_INPUTS, }; |