[Ffmpeg-cvslog] r8379 - trunk/libavutil/sha1.c
michael
subversion
Tue Mar 13 11:48:22 CET 2007
Author: michael
Date: Tue Mar 13 11:48:22 2007
New Revision: 8379
Modified:
trunk/libavutil/sha1.c
Log:
put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment
Modified: trunk/libavutil/sha1.c
==============================================================================
--- trunk/libavutil/sha1.c (original)
+++ trunk/libavutil/sha1.c Tue Mar 13 11:48:22 2007
@@ -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))))
More information about the ffmpeg-cvslog
mailing list