projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6573578
)
zero byte idea by rich
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Mar 2007 00:19:26 +0000
(
00:19
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Mar 2007 00:19:26 +0000
(
00:19
+0000)
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/sha1.c
patch
|
blob
|
history
diff --git
a/libavutil/sha1.c
b/libavutil/sha1.c
index
f6bfd86
..
996ddd1
100644
(file)
--- a/
libavutil/sha1.c
+++ b/
libavutil/sha1.c
@@
-163,7
+163,7
@@
void av_sha1_final(AVSHA1* context, uint8_t digest[20]){
av_sha1_update(context, "\200", 1);
while ((context->count & 63) != 56) {
- av_sha1_update(context, "
\0
", 1);
+ av_sha1_update(context, "", 1);
}
av_sha1_update(context, &finalcount, 8); /* Should cause a transform() */
for(i=0; i<5; i++)