mirror of https://git.ffmpeg.org/ffmpeg.git
big endian fix
Originally committed as revision 5592 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e4bf0302a3
commit
a8d88e03d2
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue