[FFmpeg-cvslog] r19981 - trunk/libavcodec/wmadec.c

mru subversion
Wed Sep 23 12:33:13 CEST 2009


Author: mru
Date: Wed Sep 23 12:33:13 2009
New Revision: 19981

Log:
WMA: use DSPContext.butterflies_float

Modified:
   trunk/libavcodec/wmadec.c

Modified: trunk/libavcodec/wmadec.c
==============================================================================
--- trunk/libavcodec/wmadec.c	Wed Sep 23 12:07:29 2009	(r19980)
+++ trunk/libavcodec/wmadec.c	Wed Sep 23 12:33:13 2009	(r19981)
@@ -637,12 +637,7 @@ static int wma_decode_block(WMACodecCont
             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:



More information about the ffmpeg-cvslog mailing list