changeset 51:c6d76c080427 libavutil

big endian fix
author lu_zero
date Mon, 03 Jul 2006 09:16:13 +0000
parents 65245022a46c
children 7df307dfe85c
files md5.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/md5.c	Sun Jul 02 20:20:28 2006 +0000
+++ b/md5.c	Mon Jul 03 09:16:13 2006 +0000
@@ -69,7 +69,11 @@
         }\
         a = b + (( a << t ) | ( a >> (32 - t) ));
 
+#ifdef WORDS_BIGENDIAN
+static void body(uint32_t ABCD[4], uint32_t X[16]){
+#else
 static void body(uint32_t ABCD[4], const uint32_t X[16]){
+#endif
     int t;
     int i attribute_unused;
     unsigned int a= ABCD[3];