shithub: aacenc

Download patch

ref: 191d61422a1fdcd6423070fd2401d2d81f84d169
parent: 44ecd6dd417c68685ca7d2d8b093f40b068af856
author: stux <stux>
date: Fri Dec 19 23:32:48 EST 2003

i've added sms00's OSX patch to faac

--- a/configure.in
+++ b/configure.in
@@ -15,6 +15,8 @@
 AC_CHECK_TYPES(int32_t)
 AC_CHECK_TYPES(int16_t)
 
+AC_CHECK_LIB(gnugetopt, getopt_long)
+
 AC_C_BIGENDIAN
 
 AC_OUTPUT(libfaac/Makefile frontend/Makefile include/Makefile Makefile)
--- a/frontend/main.c
+++ b/frontend/main.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: main.c,v 1.52 2003/12/14 12:25:44 ca5e Exp $
+ * $Id: main.c,v 1.53 2003/12/20 04:32:48 stux Exp $
  */
 
 #ifdef _MSC_VER
@@ -38,7 +38,7 @@
 #include <fcntl.h>
 #endif
 
-#ifdef __unix__
+#if defined(__unix__) || defined(__APPLE__)
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <unistd.h>
@@ -681,6 +681,9 @@
 
 /*
 $Log: main.c,v $
+Revision 1.53  2003/12/20 04:32:48  stux
+i've added sms00's OSX patch to faac
+
 Revision 1.52  2003/12/14 12:25:44  ca5e
 Gapless MP4 handling method changed again...
 
--- a/libfaac/util.h
+++ b/libfaac/util.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: util.h,v 1.7 2001/05/30 08:57:09 menno Exp $
+ * $Id: util.h,v 1.8 2003/12/20 04:32:48 stux Exp $
  */
 
 #ifndef UTIL_H
@@ -26,7 +26,7 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <memory.h>
 
 #ifndef max