diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-11-01 19:28:23 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-11-01 19:28:23 +0100 |
commit | 4eb04918173bb229623e500b376caf391442ac0b (patch) | |
tree | 407b2717bd4877e8825a062d6c51ff5f842aaa88 /contrib/libfaad/diff_to_faad2_cvs.patch | |
parent | 02a0a73283aed7106e2a2cf49ab1d996df7a93d0 (diff) | |
download | xine-lib-4eb04918173bb229623e500b376caf391442ac0b.tar.gz xine-lib-4eb04918173bb229623e500b376caf391442ac0b.tar.bz2 |
Update contributed libfaad (faad2) to version 2.6.1.
Since the release 2.6.1 of faad2 the source code for libfaad is now once again
released under a GPL-compatible license (actually, GPL2 plus commercial
licenses sold by Nero AG, and a note about clarifying who's copyright it is).
As we were using a possibly buggy old CVS snapshot of faad2 from before 2.5
release, the update might fix some buggy AAC files or streams.
The updated xine-lib was tested against iTunes Plus audio files,
Japan-A-Radio stream, SKY.fm streams, and Apple HD trailers, no regression
seems to be present.
Diffstat (limited to 'contrib/libfaad/diff_to_faad2_cvs.patch')
-rw-r--r-- | contrib/libfaad/diff_to_faad2_cvs.patch | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/contrib/libfaad/diff_to_faad2_cvs.patch b/contrib/libfaad/diff_to_faad2_cvs.patch deleted file mode 100644 index 0d8490f2e..000000000 --- a/contrib/libfaad/diff_to_faad2_cvs.patch +++ /dev/null @@ -1,101 +0,0 @@ ---- faad2-cvs-15092004/libfaad/common.h 2004-09-08 03:43:12.000000000 -0600 -+++ libfaad/common.h 2005-10-29 19:21:53.000000000 -0600 -@@ -147,23 +147,6 @@ - - /* END COMPILE TIME DEFINITIONS */ - --#if defined(_WIN32) && !defined(__MINGW32__) -- --#include <stdlib.h> -- --typedef unsigned __int64 uint64_t; --typedef unsigned __int32 uint32_t; --typedef unsigned __int16 uint16_t; --typedef unsigned __int8 uint8_t; --typedef __int64 int64_t; --typedef __int32 int32_t; --typedef __int16 int16_t; --typedef __int8 int8_t; --typedef float float32_t; -- -- --#else -- - #include <stdio.h> - #if HAVE_SYS_TYPES_H - # include <sys/types.h> -@@ -188,6 +171,8 @@ - #if HAVE_STRINGS_H - # include <strings.h> - #endif -+ -+/* precedence defining int-types by header files for all platforms */ - #if HAVE_INTTYPES_H - # include <inttypes.h> - #else -@@ -195,6 +180,17 @@ - # include <stdint.h> - # else - /* we need these... */ -+# ifdef WIN32 -+typedef unsigned __int64 uint64_t; -+typedef unsigned __int32 uint32_t; -+typedef unsigned __int16 uint16_t; -+typedef unsigned __int8 uint8_t; -+typedef __int64 int64_t; -+typedef __int32 int32_t; -+typedef __int16 int16_t; -+typedef __int8 int8_t; -+# else /* WIN32 */ -+typedef float float32_t; - typedef unsigned long long uint64_t; - typedef unsigned long uint32_t; - typedef unsigned short uint16_t; -@@ -203,6 +199,7 @@ - typedef long int32_t; - typedef short int16_t; - typedef char int8_t; -+# endif /* WIN32 */ - # endif - #endif - #if HAVE_UNISTD_H -@@ -227,8 +224,6 @@ - # endif - #endif - --#endif -- - #ifdef WORDS_BIGENDIAN - #define ARCH_IS_BIG_ENDIAN - #endif -@@ -289,6 +284,7 @@ - } - - -+#ifndef HAVE_LRINTF - #if defined(_WIN32) && !defined(__MINGW32__) - #define HAS_LRINTF - static INLINE int lrintf(float f) -@@ -315,7 +311,7 @@ - return i; - } - #endif -- -+#endif - - #ifdef __ICL /* only Intel C compiler has fmath ??? */ - ---- faad2-cvs-15092004/libfaad/bits.h 2004-09-04 08:56:28.000000000 -0600 -+++ libfaad/bits.h 2005-10-29 19:21:53.000000000 -0600 -@@ -56,9 +56,9 @@ - } bitfile; - - --#if defined (_WIN32) && !defined(_WIN32_WCE) && !defined(__MINGW32__) -+#if defined(_MSC_VER) - #define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax --#elif defined(LINUX) || defined(DJGPP) || defined(__MINGW32__) -+#elif defined(LINUX) || defined(DJGPP) || defined (__MINGW32__) || defined (__CYGWIN__) - #define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) ) - #else - #define BSWAP(a) \ |