mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
Use FFSWAP instead of "manual" swap
Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e5d8ccd727
commit
f952b30cd1
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user