From e51811d21598eb914253f89e1153e16f171b3bed Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 10 Jan 2019 20:10:50 +0100 Subject: lavfi/f_select: Fix aselect filter standalone compilation. --- libavfilter/f_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/f_select.c') diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index d67849b..a0d94cc 100644 --- a/libavfilter/f_select.c +++ b/libavfilter/f_select.c @@ -241,7 +241,7 @@ static int config_input(AVFilterLink *inlink) select->var_values[VAR_SAMPLE_RATE] = inlink->type == AVMEDIA_TYPE_AUDIO ? inlink->sample_rate : NAN; - if (select->do_scene_detect) { + if (CONFIG_SELECT_FILTER && select->do_scene_detect) { select->sad = ff_scene_sad_get_fn(8); if (!select->sad) return AVERROR(EINVAL); -- cgit v1.1