mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avfilter/af_surround: fix oversight with inverse rdft initialization
This commit is contained in:
parent
698de27f25
commit
7ad645eb7e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user