projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1460080
)
WMA: use DSPContext.butterflies_float
author
Måns Rullgård
<mans@mansr.com>
Wed, 23 Sep 2009 10:33:13 +0000
(10:33 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Wed, 23 Sep 2009 10:33:13 +0000
(10:33 +0000)
Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmadec.c
b/libavcodec/wmadec.c
index
7a65003
..
decdbe9
100644
(file)
--- a/
libavcodec/wmadec.c
+++ b/
libavcodec/wmadec.c
@@
-637,12
+637,7
@@
static int wma_decode_block(WMACodecContext *s)
s->channel_coded[0] = 1;
}
- for(i = 0; i < s->block_len; i++) {
- a = s->coefs[0][i];
- b = s->coefs[1][i];
- s->coefs[0][i] = a + b;
- s->coefs[1][i] = a - b;
- }
+ s->dsp.butterflies_float(s->coefs[0], s->coefs[1], s->block_len);
}
next: