summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-02-16 20:20:53 +0100
committerPaul B Mahol <onemda@gmail.com>2022-02-16 20:22:44 +0100
commit7ad645eb7e3e181d0230c42ae03185ccb1296a0f (patch)
treeacb27bfab8b6d694e9011993fa847a09f486203c /libavfilter
parent698de27f25bea278ce7155fc387b3d59b478d46b (diff)
avfilter/af_surround: fix oversight with inverse rdft initialization
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_surround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 56c29548eb..c5657e405d 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -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);
}