Commit f952b30c authored by Reimar Döffinger's avatar Reimar Döffinger

Use FFSWAP instead of "manual" swap

Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e5d8ccd7
...@@ -149,13 +149,9 @@ static void fft(IComplex *z, int ln) ...@@ -149,13 +149,9 @@ static void fft(IComplex *z, int ln)
/* reverse */ /* reverse */
for(j=0;j<np;j++) { for(j=0;j<np;j++) {
int k; int k;
IComplex tmp;
k = fft_rev[j]; k = fft_rev[j];
if (k < j) { if (k < j)
tmp = z[k]; FFSWAP(IComplex, z[k], z[j]);
z[k] = z[j];
z[j] = tmp;
}
} }
/* pass 0 */ /* pass 0 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment