Commit 7ad645eb authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_surround: fix oversight with inverse rdft initialization

parent 698de27f
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment