mirror of https://git.ffmpeg.org/ffmpeg.git
10l
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fca447a911
commit
965ea9ba66
|
@ -144,6 +144,7 @@ void av_sha1_update(AVSHA1* context, uint8_t* data, unsigned int len){
|
||||||
for ( ; i + 63 < len; i += 64) {
|
for ( ; i + 63 < len; i += 64) {
|
||||||
transform(context->state, &data[i]);
|
transform(context->state, &data[i]);
|
||||||
}
|
}
|
||||||
|
j=0;
|
||||||
}
|
}
|
||||||
else i = 0;
|
else i = 0;
|
||||||
memcpy(&context->buffer[j], &data[i], len - i);
|
memcpy(&context->buffer[j], &data[i], len - i);
|
||||||
|
|
Loading…
Reference in New Issue