aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-09-23 10:33:13 +0000
committerMåns Rullgård <mans@mansr.com>2009-09-23 10:33:13 +0000
commit6044538b3736df47e5e8e8fda96b04338750a782 (patch)
tree7755bd253f354df19649e7b24195a35cfa01f7f5 /libavcodec/wmadec.c
parent14600807bbeff1f93e62f97a86175200bcef8d9c (diff)
downloadffmpeg-6044538b3736df47e5e8e8fda96b04338750a782.tar.gz
WMA: use DSPContext.butterflies_float
Originally committed as revision 19981 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r--libavcodec/wmadec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index 7a65003457..decdbe94ae 100644
--- 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: