[MPlayer-dev-eng] Re: [PATCH] libfaad2 fix for big endian system.

adland123 adland123 at yahoo.com
Sat Oct 16 23:10:21 CEST 2004


> > result of debuging code at 1:00 a.m sorry.

No complaints.
 
> Is this better?

It is a better change but it broke the compilation of libfaad2 for me.
There was a simple addition to fix compilation (attached below) but 
this also breaks
HE AAC (High Efficiency) audio sample playback on my Little Endian
 linux platform.
Unsure what happens on other platforms like Cygwin.

--- main/libfaad2/common.h      2004-09-27 13:30:39.000000000 -0400
+++ updated/libfaad2/common.h   2004-10-16 16:02:29.000000000 -0400
@@ -39,9 +39,7 @@
 #define __STRICT_ANSI__
 #endif

-#ifdef HAVE_CONFIG_H
 #  include "../config.h"
-#endif

 #define INLINE __inline
 #if 0 //defined(_WIN32) && !defined(_WIN32_WCE)
@@ -201,10 +199,6 @@
 /* Define if you have the ANSI C header files. */
 #define STDC_HEADERS 1

-#ifdef HAVE_CONFIG_H
-#  include "../config.h"
-#endif
-
 #include <stdio.h>
 #if HAVE_SYS_TYPES_H
 # include <sys/types.h>
@@ -383,7 +377,6 @@
 #  define __USE_ISOC99   1
 #endif

-    #include <math.h>

 #ifdef HAVE_SINF
 #  define sin sinf





More information about the MPlayer-dev-eng mailing list