Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-03-13 10:34:52 +00:00
parent fca447a911
commit 965ea9ba66
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ void av_sha1_update(AVSHA1* context, uint8_t* data, unsigned int len){
for ( ; i + 63 < len; i += 64) {
transform(context->state, &data[i]);
}
j=0;
}
else i = 0;
memcpy(&context->buffer[j], &data[i], len - i);