diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 10:48:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 10:48:22 +0000 |
commit | 200130450075fbf446aeb91f163d6d8037fa2e2d (patch) | |
tree | b4e42048a88f46bc06c8a22d0f5b93cc64df3b69 /libavutil/sha1.c | |
parent | 5fd7f87b8dbdd5092a2c0cea522b0063c6baea1b (diff) | |
download | ffmpeg-200130450075fbf446aeb91f163d6d8037fa2e2d.tar.gz |
put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Originally committed as revision 8379 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/sha1.c')
-rw-r--r-- | libavutil/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c index 6c7eb26af0..82416e8fe7 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -6,9 +6,9 @@ #include "sha1.h" typedef struct AVSHA1 { - uint32_t state[5]; uint64_t count; uint8_t buffer[64]; + uint32_t state[5]; } AVSHA1; #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) |