[SCM] libav/experimental: big endian fix

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:48:37 UTC 2013


The following commit has been merged in the experimental branch:
commit a8d88e03d24696a56bed6a2d143ff1691d8fcc69
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Mon Jul 3 09:16:13 2006 +0000

    big endian fix
    
    Originally committed as revision 5592 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/md5.c b/libavutil/md5.c
index 844bcb0..82a2cff 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];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list