big endian fix

Originally committed as revision 5592 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Barbato 2006-07-03 09:16:13 +00:00
parent e4bf0302a3
commit a8d88e03d2
1 changed files with 4 additions and 0 deletions

View File

@ -69,7 +69,11 @@ static const uint32_t T[64] = {
}\ }\
a = b + (( a << t ) | ( a >> (32 - t) )); 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]){ static void body(uint32_t ABCD[4], const uint32_t X[16]){
#endif
int t; int t;
int i attribute_unused; int i attribute_unused;
unsigned int a= ABCD[3]; unsigned int a= ABCD[3];