aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/md5.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-07-03 09:16:13 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-07-03 09:16:13 +0000
commita8d88e03d24696a56bed6a2d143ff1691d8fcc69 (patch)
tree8ddf0f7638ed073e222951a21b7afc7f084019f6 /libavutil/md5.c
parente4bf0302a32bb253a53215fff533beec8e065dc4 (diff)
downloadffmpeg-a8d88e03d24696a56bed6a2d143ff1691d8fcc69.tar.gz
big endian fix
Originally committed as revision 5592 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/md5.c')
-rw-r--r--libavutil/md5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c
index 844bcb0e80..82a2cffc22 100644
--- a/libavutil/md5.c
+++ b/libavutil/md5.c
@@ -69,7 +69,11 @@ static const uint32_t T[64] = {
}\
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];