diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-03-25 23:26:26 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-03-25 23:26:26 +0200 |
commit | 78f8036c9c1f7375a0ff8aefe2030f160dbedf36 (patch) | |
tree | 14c624dea3887f5a1eb27278fb428ed7fdca6455 | |
parent | 261171d084bc89313c1fb9ace643243959aeef9f (diff) | |
download | ffmpeg-78f8036c9c1f7375a0ff8aefe2030f160dbedf36.tar.gz |
avfilter/af_mcompand: make error message more helpful
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavfilter/af_mcompand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c index 02f987a6a8..f142573bea 100644 --- a/libavfilter/af_mcompand.c +++ b/libavfilter/af_mcompand.c @@ -456,7 +456,7 @@ static int config_output(AVFilterLink *outlink) new_nb_items += sscanf(tstr2, "%lf", &s->bands[i].topfreq) == 1; if (s->bands[i].topfreq < 0 || s->bands[i].topfreq >= outlink->sample_rate / 2) { - av_log(ctx, AV_LOG_ERROR, "crossover_frequency should be >=0 and lower than half of sample rate\n"); + av_log(ctx, AV_LOG_ERROR, "crossover_frequency: %f, should be >=0 and lower than half of sample rate: %d.\n", s->bands[i].topfreq, outlink->sample_rate / 2); uninit(ctx); return AVERROR(EINVAL); } |