mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avfilter/af_anequalizer: make cliping filter type actually useful
Previously result was ignored. Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
c6e3b6a819
commit
c9b99494be
@ -607,7 +607,7 @@ static int config_input(AVFilterLink *inlink)
|
||||
s->filters[s->nb_filters].channel >= inlink->channels)
|
||||
s->filters[s->nb_filters].ignore = 1;
|
||||
|
||||
av_clip(s->filters[s->nb_filters].type, 0, NB_TYPES - 1);
|
||||
s->filters[s->nb_filters].type = av_clip(s->filters[s->nb_filters].type, 0, NB_TYPES - 1);
|
||||
ret = add_filter(s, inlink);
|
||||
if (ret < 0)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user