shithub: aacdec

Download patch

ref: 0c3e2b52ee8003b52ba13fa487573223d38489f5
parent: a67c75ed600cf4b41205d69664d3d9106e9c5380
author: knik <knik@users.sourceforge.net>
date: Mon Jul 17 08:52:53 EDT 2017

removed uint*_t typedefs and use <stdint.h> on all systems

--- a/common/mp4ff/mp4ff_int_types.h
+++ /dev/null
@@ -1,27 +1,0 @@
-#ifndef _MP4FF_INT_TYPES_H_
-#define _MP4FF_INT_TYPES_H_
-
-#if defined (_WIN32)
-
-#ifdef __MINGW32__
-#include <stdlib.h>
-#endif /* #ifdef __MINGW32__ */
-
-typedef signed char int8_t;
-typedef unsigned char uint8_t;
-typedef signed short int16_t;
-typedef unsigned short uint16_t;
-typedef signed long int32_t;
-typedef unsigned long uint32_t;
-
-typedef signed __int64 int64_t;
-typedef unsigned __int64 uint64_t;
-
-#else
-
-#include <stdint.h>
-
-#endif
-
-
-#endif
--- a/common/mp4ff/mp4ffint.h
+++ b/common/mp4ff/mp4ffint.h
@@ -35,8 +35,8 @@
 extern "C" {
 #endif /* __cplusplus */
 
-#include "mp4ff_int_types.h"
 #include <stdlib.h>
+#include <stdint.h>
 
 #define MAX_TRACKS 1024
 #define TRACK_UNKNOWN 0