summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-10 20:10:50 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2019-01-10 20:10:50 +0100
commite51811d21598eb914253f89e1153e16f171b3bed (patch)
tree5b60e97c36a7fa00db3bed24257f08e0f0de4d66 /libavfilter/f_select.c
parente52140ba378098a60fe69333ff4b6dfb2e304f1d (diff)
downloadffmpeg-streaming-e51811d21598eb914253f89e1153e16f171b3bed.zip
ffmpeg-streaming-e51811d21598eb914253f89e1153e16f171b3bed.tar.gz
lavfi/f_select: Fix aselect filter standalone compilation.
Diffstat (limited to 'libavfilter/f_select.c')
-rw-r--r--libavfilter/f_select.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud