summaryrefslogtreecommitdiff
path: root/libavfilter/vf_hwmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_hwmap.c')
-rw-r--r--libavfilter/vf_hwmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hwmap.c b/libavfilter/vf_hwmap.c
index be29261223..2e03dfc1fe 100644
--- a/libavfilter/vf_hwmap.c
+++ b/libavfilter/vf_hwmap.c
@@ -423,8 +423,8 @@ const AVFilter ff_vf_hwmap = {
.uninit = hwmap_uninit,
.priv_size = sizeof(HWMapContext),
.priv_class = &hwmap_class,
- .query_formats = hwmap_query_formats,
FILTER_INPUTS(hwmap_inputs),
FILTER_OUTPUTS(hwmap_outputs),
+ FILTER_QUERY_FUNC(hwmap_query_formats),
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};