avfilter/af_sofalizer: print size of FFT that failed to init

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2016-03-03 23:09:36 +01:00
parent 966eadeab3
commit 3e491a1fb6

View File

@ -999,7 +999,7 @@ static int config_input(AVFilterLink *inlink)
s->ifft[1] = av_fft_init(log2(s->n_fft), 1);
if (!s->fft[0] || !s->fft[1] || !s->ifft[0] || !s->ifft[1]) {
av_log(ctx, AV_LOG_ERROR, "Unable to create FFT contexts.\n");
av_log(ctx, AV_LOG_ERROR, "Unable to create FFT contexts of size %d.\n", s->n_fft);
return AVERROR(ENOMEM);
}
}