Commit 010eb4e2 authored by reimar's avatar reimar

Use FFSWAP instead of "manual" swap


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11518 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 51f028fe
......@@ -149,13 +149,9 @@ static void fft(IComplex *z, int ln)
/* reverse */
for(j=0;j<np;j++) {
int k;
IComplex tmp;
k = fft_rev[j];
if (k < j) {
tmp = z[k];
z[k] = z[j];
z[j] = tmp;
}
if (k < j)
FFSWAP(IComplex, z[k], z[j]);
}
/* 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