diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-12-25 17:03:46 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-12-25 17:03:46 +0300 |
commit | c9b99494bed756ea528fcff256c087770b506f70 (patch) | |
tree | 67f9a27dd05b06bcb18f17e187bc2b94bb48c773 /libavfilter/af_anequalizer.c | |
parent | c6e3b6a819a5955a0945ea063a81db487c2233a1 (diff) |
avfilter/af_anequalizer: make cliping filter type actually useful
Previously result was ignored.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_anequalizer.c')
-rw-r--r-- | libavfilter/af_anequalizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c index ae953225ad..e817fdcd33 100644 --- a/libavfilter/af_anequalizer.c +++ b/libavfilter/af_anequalizer.c @@ -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; |