Commit d24c365e authored by michael's avatar michael

its faster to copy the data to the stack it seems ...


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8353 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 825738c8
......@@ -29,7 +29,10 @@ typedef struct AVSHA1 {
static void transform(uint32_t state[5], uint8_t buffer[64]){
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 */
a = state[0];
b = state[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment