summaryrefslogtreecommitdiff
path: root/libavfilter/vf_hwupload.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_hwupload.c')
-rw-r--r--libavfilter/vf_hwupload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_hwupload.c b/libavfilter/vf_hwupload.c
index 4cbc621af3..dbc41734cc 100644
--- a/libavfilter/vf_hwupload.c
+++ b/libavfilter/vf_hwupload.c
@@ -252,10 +252,10 @@ const AVFilter ff_vf_hwupload = {
.name = "hwupload",
.description = NULL_IF_CONFIG_SMALL("Upload a normal frame to a hardware frame"),
.uninit = hwupload_uninit,
- .query_formats = hwupload_query_formats,
.priv_size = sizeof(HWUploadContext),
.priv_class = &hwupload_class,
FILTER_INPUTS(hwupload_inputs),
FILTER_OUTPUTS(hwupload_outputs),
+ FILTER_QUERY_FUNC(hwupload_query_formats),
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
};