[Mplayer-cvslog] CVS: main/libfaad2 common.h,1.7,1.8

Diego Biurrun CVS syncmail at mplayerhq.hu
Tue Oct 19 03:16:05 CEST 2004


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/libfaad2
In directory mail:/var2/tmp/cvs-serv9246/libfaad2

Modified Files:
	common.h 
Log Message:
Fix playback on big-endian systems.
patch by Nicolas Plourde and adland123 <adland123 at yahoo dot com>


Index: common.h
===================================================================
RCS file: /cvsroot/mplayer/main/libfaad2/common.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- common.h	27 Sep 2004 02:11:24 -0000	1.7
+++ common.h	19 Oct 2004 01:16:03 -0000	1.8
@@ -39,9 +39,7 @@
 #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 @@
 /* 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 @@
 
   #else
 
+#include <math.h>
+
 #ifdef HAVE_LRINTF
 #  define HAS_LRINTF
 #  define _ISOC9X_SOURCE 1
@@ -383,8 +379,6 @@
 #  define __USE_ISOC99   1
 #endif
 
-    #include <math.h>
-
 #ifdef HAVE_SINF
 #  define sin sinf
 #error




More information about the MPlayer-cvslog mailing list