Browse Source

big endian fix

Originally committed as revision 5592 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Barbato 19 years ago
parent
commit
a8d88e03d2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavutil/md5.c

+ 4
- 0
libavutil/md5.c View File

@@ -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];


Loading…
Cancel
Save