X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_mcompand.c;h=f142573beabdd127e3dd834eba72f4a5427a0e76;hb=f166951d6e32d2776373721bc262d338c44a5d81;hp=02f987a6a8630ab20795a7699b14dc0672696f76;hpb=8a15ad8a175cb97d6c1102b777f28e4d20846fec;p=ffmpeg diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c index 02f987a6a86..f142573beab 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); }