projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d8ccd
)
Use FFSWAP instead of "manual" swap
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 12 Jan 2008 17:37:36 +0000
(17:37 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 12 Jan 2008 17:37:36 +0000
(17:37 +0000)
Originally committed as revision 11518 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
4e1fe8e
..
5243b4f
100644
(file)
--- a/
libavcodec/ac3enc.c
+++ b/
libavcodec/ac3enc.c
@@
-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 */