avfilter_draw_slice(link->dst->outputs[0], y, h, slice_dir);
}
+#if CONFIG_FORMAT_FILTER
static int query_formats_format(AVFilterContext *ctx)
{
avfilter_set_common_formats(ctx, make_format_list(ctx->priv, 1));
.type = CODEC_TYPE_VIDEO },
{ .name = NULL}},
};
+#endif /* CONFIG_FORMAT_FILTER */
+#if CONFIG_NOFORMAT_FILTER
static int query_formats_noformat(AVFilterContext *ctx)
{
avfilter_set_common_formats(ctx, make_format_list(ctx->priv, 0));
.type = CODEC_TYPE_VIDEO },
{ .name = NULL}},
};
+#endif /* CONFIG_NOFORMAT_FILTER */
+