mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi/f_select: Fix aselect filter standalone compilation.
This commit is contained in:
parent
e52140ba37
commit
e51811d215
@ -241,7 +241,7 @@ static int config_input(AVFilterLink *inlink)
|
|||||||
select->var_values[VAR_SAMPLE_RATE] =
|
select->var_values[VAR_SAMPLE_RATE] =
|
||||||
inlink->type == AVMEDIA_TYPE_AUDIO ? inlink->sample_rate : NAN;
|
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);
|
select->sad = ff_scene_sad_get_fn(8);
|
||||||
if (!select->sad)
|
if (!select->sad)
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
|
Loading…
Reference in New Issue
Block a user