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

git version control git at videolan.org
Fri Jul 11 23:45:04 CEST 2008


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

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

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

 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