1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

avfilter/af_surround: fix oversight with inverse rdft initialization

This commit is contained in:
Paul B Mahol 2022-02-16 20:20:53 +01:00
parent 698de27f25
commit 7ad645eb7e

View File

@ -277,7 +277,7 @@ static int config_output(AVFilterLink *outlink)
for (ch = 0; ch < outlink->channels; ch++) {
float iscale = 1.f;
av_tx_init(&s->irdft[ch], &s->itx_fn, AV_TX_FLOAT_RDFT, 0, s->buf_size, &iscale, 0);
av_tx_init(&s->irdft[ch], &s->itx_fn, AV_TX_FLOAT_RDFT, 1, s->buf_size, &iscale, 0);
if (!s->irdft[ch])
return AVERROR(ENOMEM);
}