[FFmpeg-cvslog] avfilter/af_surround: fix oversight with inverse rdft initialization

Paul B Mahol git at videolan.org
Wed Feb 16 21:21:57 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Feb 16 20:20:53 2022 +0100| [7ad645eb7e3e181d0230c42ae03185ccb1296a0f] | committer: Paul B Mahol

avfilter/af_surround: fix oversight with inverse rdft initialization

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ad645eb7e3e181d0230c42ae03185ccb1296a0f
---

 libavfilter/af_surround.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
     }



More information about the ffmpeg-cvslog mailing list