Commit c9b99494 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_anequalizer: make cliping filter type actually useful

Previously result was ignored.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent c6e3b6a8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment