OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca447a
)
10l
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Mar 2007 10:34:52 +0000
(10:34 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Mar 2007 10:34:52 +0000
(10:34 +0000)
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/sha1.c
patch
|
blob
|
history
diff --git
a/libavutil/sha1.c
b/libavutil/sha1.c
index
9ac9c52
..
5f56107
100644
(file)
--- a/
libavutil/sha1.c
+++ b/
libavutil/sha1.c
@@
-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);