Mercurial > hg > dmlib
changeset 1252:f077a709d491
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Mar 2015 19:53:13 +0200 |
parents | 75e20c34bb6a |
children | a4816eb68558 |
files | src/dmfft.c |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dmfft.c Sat Mar 07 19:45:51 2015 +0200 +++ b/src/dmfft.c Sat Mar 07 19:53:13 2015 +0200 @@ -76,6 +76,8 @@ if (ctx == NULL || buffer == NULL) return DMERR_NULLPTR; + const int *br1 = ctx->breversed + 1; + const int *br2 = ctx->breversed + ctx->npoints - 1; int rounds = ctx->npoints / 2; DMFFTType *endptr1 = buffer + ctx->npoints * 2; @@ -108,11 +110,7 @@ rounds >>= 1; } - /* - * Massage output to get the output for a real input sequence. - */ - const int *br1 = ctx->breversed + 1; - const int *br2 = ctx->breversed + ctx->npoints - 1; + // Massage output to get the output for a real input sequence. while (br1 <= br2) {