This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Use FFSWAP instead of "manual" swap
Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger
18 years ago
parent
e5d8ccd727
commit
f952b30cd1
1 changed files
with
2 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-6
libavcodec/ac3enc.c
+ 2
- 6
libavcodec/ac3enc.c
View File
@@ -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 */
Write
Preview
Loading…
Cancel
Save