aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tx.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2019-05-16 17:26:10 +0100
committerLynne <dev@lynne.ee>2019-05-16 17:31:53 +0100
commit6044534964a463663803b590fe66a212af4b3834 (patch)
treef1fa0029754a0cd08bb0877ad2968ea5a4a4f7d1 /libavutil/tx.c
parent6276b4db974e9b7bc5a93ffeb2c52ca7f18bb046 (diff)
downloadffmpeg-6044534964a463663803b590fe66a212af4b3834.tar.gz
avutil/tx: fix forward compound non-mod-15 based MDCTs
There was a hardcoded value left. Wasn't caught earlier as no code uses compound forward mod-3/5 MDCTs yet.
Diffstat (limited to 'libavutil/tx.c')
-rw-r--r--libavutil/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tx.c b/libavutil/tx.c
index 934ef27c81..a138c67bdc 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -504,7 +504,7 @@ static void compound_mdct_##N##xM(AVTXContext *s, void *_dst, void *_src, \
fft##N(s->tmp + s->revtab[i], fft##N##in, m); \
} \
\
- for (int i = 0; i < 15; i++) \
+ for (int i = 0; i < N; i++) \
fftp(s->tmp + m*i); \
\
for (int i = 0; i < len8; i++) { \