shithub: aacenc

Download patch

ref: c73fe399a9d2456101c39a0af7dc973cab7ac7d7
parent: 1155c6b58bed8c3a88ea7e388d401647cfff03b6
author: menno <menno>
date: Mon Jul 28 13:13:14 EDT 2003

compile fix for win32

--- a/frontend/input.c
+++ b/frontend/input.c
@@ -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: input.c,v 1.7 2003/07/10 19:18:38 knik Exp $
+ * $Id: input.c,v 1.8 2003/07/28 17:12:57 menno Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -213,7 +213,7 @@
 static void chan_remap(int32_t *buf, int channels, int blocks, int *map)
 {
   int i;
-  int32_t *tmp = alloca(channels * sizeof(int32_t));
+  int32_t *tmp = malloc(channels * sizeof(int32_t));
 
   for (i = 0; i < blocks; i++)
   {
@@ -262,7 +262,7 @@
 
 	s = SWAP16(s);
 
-	buf[i] = ((uint32_t)s) << 8;
+	buf[i] = ((u_int32_t)s) << 8;
       }
     }
     else
--- a/libfaac/libfaac.dsp
+++ b/libfaac/libfaac.dsp
@@ -119,15 +119,11 @@
 # End Source File
 # Begin Source File
 
-SOURCE=.\joint.c
-# End Source File
-# Begin Source File
-
 SOURCE=.\ltp.c
 # End Source File
 # Begin Source File
 
-SOURCE=.\psychiso.c
+SOURCE=.\midside.c
 # End Source File
 # Begin Source File