mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
its faster to copy the data to the stack it seems ...
Originally committed as revision 8353 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ae76034cbb
commit
3479b72bc2
@ -29,7 +29,10 @@ typedef struct AVSHA1 {
|
|||||||
|
|
||||||
static void transform(uint32_t state[5], uint8_t buffer[64]){
|
static void transform(uint32_t state[5], uint8_t buffer[64]){
|
||||||
unsigned int a, b, c, d, e, i;
|
unsigned int a, b, c, d, e, i;
|
||||||
uint32_t* block= buffer;
|
uint32_t block[16];
|
||||||
|
|
||||||
|
memcpy(block, buffer, 64);
|
||||||
|
|
||||||
/* Copy context->state[] to working vars */
|
/* Copy context->state[] to working vars */
|
||||||
a = state[0];
|
a = state[0];
|
||||||
b = state[1];
|
b = state[1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user