diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-19 01:16:03 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-19 01:16:03 +0000 |
commit | f37898d16d4462a4cbde594f3a605a8b1368be57 (patch) | |
tree | 4d1f7417e7c295ca11aad02bc402b6c812109a87 | |
parent | fec22a5be7581750318e36d50084e96bbe872f3f (diff) | |
download | mpv-f37898d16d4462a4cbde594f3a605a8b1368be57.tar.bz2 mpv-f37898d16d4462a4cbde594f3a605a8b1368be57.tar.xz |
Fix playback on big-endian systems.
patch by Nicolas Plourde and adland123 <adland123 at yahoo dot com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13686 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libfaad2/common.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libfaad2/common.h b/libfaad2/common.h index 0706390169..58c9b110c4 100644 --- a/libfaad2/common.h +++ b/libfaad2/common.h @@ -39,9 +39,7 @@ extern "C" { #define __STRICT_ANSI__ #endif -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif +#include "../config.h" #define INLINE __inline #if 0 //defined(_WIN32) && !defined(_WIN32_WCE) @@ -201,10 +199,6 @@ typedef float float32_t; /* 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> @@ -375,6 +369,8 @@ char *strchr(), *strrchr(); #else +#include <math.h> + #ifdef HAVE_LRINTF # define HAS_LRINTF # define _ISOC9X_SOURCE 1 @@ -383,8 +379,6 @@ char *strchr(), *strrchr(); # define __USE_ISOC99 1 #endif - #include <math.h> - #ifdef HAVE_SINF # define sin sinf #error |