shithub: aacenc

Download patch

ref: 8d56571c212df7bc4fdbade79406e29c1d3d286d
parent: 61346cf3bd465b823310b5663b6cfc8439e2910e
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Tue Nov 28 06:58:27 EST 2017

a little cleanup and compilation fix

--- a/include/faac.h
+++ b/include/faac.h
@@ -51,10 +51,6 @@
 
 typedef void *faacEncHandle;
 
-#ifndef HAVE_INT32_T
-typedef signed int int32_t;
-#endif
-
 /*
 	Allows an application to get FAAC version info. This is intended
 	purely for informative purposes.
--- a/libfaac/frame.h
+++ b/libfaac/frame.h
@@ -16,7 +16,6 @@
  * 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: frame.h,v 1.32 2012/03/01 18:34:17 knik Exp $
  */
 
 #ifndef FRAME_H
@@ -26,21 +25,9 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
+#include <stdint.h>
 
 #include <faac.h>
-
-#ifndef HAVE_INT32_T
-typedef signed int int32_t;
-#endif
 
 #ifdef __cplusplus
 extern "C" {
--- a/libfaac/quantize.h
+++ b/libfaac/quantize.h
@@ -32,8 +32,6 @@
     int pnslevel;
 } AACQuantCfg;
 
-#include "quantize.h"
-
 enum {
     DEFQUAL = 100,
     MAXQUAL = 5000,