diff options
Diffstat (limited to 'libavfilter/avf_showcqt.c')
-rw-r--r-- | libavfilter/avf_showcqt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index ce42cd6..2bd772e 100644 --- a/libavfilter/avf_showcqt.c +++ b/libavfilter/avf_showcqt.c @@ -371,7 +371,7 @@ static int config_output(AVFilterLink *outlink) tlength = s->timeclamp; } - volume = FFABS(av_expr_eval(volume_expr, expr_vars_val, NULL)); + volume = fabs(av_expr_eval(volume_expr, expr_vars_val, NULL)); if (isnan(volume)) { av_log(ctx, AV_LOG_WARNING, "at freq %g: volume is nan, setting it to 0\n", freq); volume = VOLUME_MIN; |