[x264-devel] commit: Fix compilation on PPC systems (borked in r903) ( Jason Garrett-Glaser )

git version control git at videolan.org
Fri Jul 11 23:55:32 CEST 2008


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Fri Jul 11 15:45:54 2008 -0600| [8cd5d60fcc23edcbdb97a190d8ac926db4161eb1]

Fix compilation on PPC systems (borked in r903)
Bigendian systems didn't have endian_fix32 defined

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=8cd5d60fcc23edcbdb97a190d8ac926db4161eb1
---

 common/osdep.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/osdep.h b/common/osdep.h
index 960e7db..e54c319 100644
--- a/common/osdep.h
+++ b/common/osdep.h
@@ -143,6 +143,7 @@
 
 #ifdef WORDS_BIGENDIAN
 #define endian_fix(x) (x)
+#define endian_fix32(x) (x)
 #elif defined(__GNUC__) && defined(HAVE_MMX)
 static ALWAYS_INLINE uint32_t endian_fix32( uint32_t x )
 {



More information about the x264-devel mailing list