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
1 changed files with 1 additions and 1 deletions

View File

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