changeset 10236:0e9a50fbed9f libavcodec

WMA: use DSPContext.butterflies_float
author mru
date Wed, 23 Sep 2009 10:33:13 +0000
parents 14353a40db5e
children 2355ca5dc57c
files wmadec.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/wmadec.c	Wed Sep 23 10:07:29 2009 +0000
+++ b/wmadec.c	Wed Sep 23 10:33:13 2009 +0000
@@ -637,12 +637,7 @@
             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: