diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-12-19 18:44:49 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-12-19 18:45:56 +0100 |
commit | 744100af627adc102a87081b58e3dfdb933c12ec (patch) | |
tree | 2621dfe98a8dfcb05cb96e4afec0dc2ae27d5bf1 /libavfilter | |
parent | 38b837e0e142c78af836184822bd32f54d65477c (diff) | |
download | ffmpeg-744100af627adc102a87081b58e3dfdb933c12ec.tar.gz |
avfilter/af_headphone: properly initialize scale
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_headphone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index 3d3adca8c8..005e151e2c 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -379,7 +379,7 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink) s->n_fft = n_fft = 1 << (32 - ff_clz(ir_len + s->size)); if (s->type == FREQUENCY_DOMAIN) { - float scale; + float scale = 1.f; ret = av_tx_init(&s->fft[0], &s->tx_fn[0], AV_TX_FLOAT_FFT, 0, s->n_fft, &scale, 0); if (ret < 0) |