aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-03-13 10:34:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-03-13 10:34:52 +0000
commit965ea9ba663690c17c8a232cbf3d312b537031ba (patch)
tree554f7071fa62b9796ab8f60d65a70572bdabbcec /libavutil
parentfca447a91156cceb44270ed29849ba60e3648846 (diff)
downloadffmpeg-965ea9ba663690c17c8a232cbf3d312b537031ba.tar.gz
10l
Originally committed as revision 8374 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/sha1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c
index 9ac9c521b0..5f561074e8 100644
--- 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);