shithub: aacenc

Download patch

ref: 79daa3f1147e538231666228b45bbe26fd3c9e2e
parent: e5a3a5e4dec0a8941d4e5dd3365dc5aa2e5c9ae4
author: sur <sur>
date: Wed Feb 2 02:51:49 EST 2005

NFLAT_LS definition changed to be 1024/960 transform length compatible.

--- a/libfaac/filtbank.h
+++ b/libfaac/filtbank.h
@@ -16,7 +16,7 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- * $Id: filtbank.h,v 1.10 2003/11/24 18:06:57 knik Exp $
+ * $Id: filtbank.h,v 1.11 2005/02/02 07:51:49 sur Exp $
  */
 
 #ifndef FILTBANK_H
@@ -28,8 +28,11 @@
 
 #include "frame.h"
 
+#ifdef DRM
+#define NFLAT_LS (( BLOCK_LEN_LONG - BLOCK_LEN_SHORT ) / 2)
+#else
 #define NFLAT_LS 448
-
+#endif
 
 #define MOVERLAPPED     0
 #define MNON_OVERLAPPED 1