shithub: aacenc

Download patch

ref: e5a3a5e4dec0a8941d4e5dd3365dc5aa2e5c9ae4
parent: c1ac168fc988193ef135ef6f6fd7ddf3eb9b6707
author: sur <sur>
date: Wed Feb 2 02:51:12 EST 2005

960 transform length implemented.

--- a/libfaac/filtbank.c
+++ b/libfaac/filtbank.c
@@ -22,7 +22,7 @@
  *                                                                           *
  ****************************************************************************/
 /*
- * $Id: filtbank.c,v 1.12 2003/11/24 18:06:57 knik Exp $
+ * $Id: filtbank.c,v 1.13 2005/02/02 07:51:12 sur Exp $
  */
 
 /*
@@ -464,10 +464,10 @@
 
     /* Perform in-place complex FFT of length N/4 */
     switch (N) {
-    case 256:
+    case BLOCK_LEN_SHORT * 2:
         fft( fft_tables, xr, xi, 6);
         break;
-    case 2048:
+    case BLOCK_LEN_LONG * 2:
         fft( fft_tables, xr, xi, 9);
     }
 
@@ -536,10 +536,10 @@
 
     /* Perform in-place complex IFFT of length N/4 */
     switch (N) {
-    case 256:
+    case BLOCK_LEN_SHORT * 2:
         ffti( fft_tables, xr, xi, 6);
         break;
-    case 2048:
+    case BLOCK_LEN_LONG * 2:
         ffti( fft_tables, xr, xi, 9);
     }