summaryrefslogtreecommitdiff
path: root/libavfilter/vf_showpalette.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_showpalette.c')
-rw-r--r--libavfilter/vf_showpalette.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_showpalette.c b/libavfilter/vf_showpalette.c
index 569f5040d0..0405bdb947 100644
--- a/libavfilter/vf_showpalette.c
+++ b/libavfilter/vf_showpalette.c
@@ -114,8 +114,8 @@ const AVFilter ff_vf_showpalette = {
.name = "showpalette",
.description = NULL_IF_CONFIG_SMALL("Display frame palette."),
.priv_size = sizeof(ShowPaletteContext),
- .query_formats = query_formats,
FILTER_INPUTS(showpalette_inputs),
FILTER_OUTPUTS(showpalette_outputs),
+ FILTER_QUERY_FUNC(query_formats),
.priv_class = &showpalette_class,
};