[Ffmpeg-cvslog] r8368 - trunk/libavutil/sha1.c
michael
subversion
Tue Mar 13 01:19:26 CET 2007
Author: michael
Date: Tue Mar 13 01:19:26 2007
New Revision: 8368
Modified:
trunk/libavutil/sha1.c
Log:
zero byte idea by rich
Modified: trunk/libavutil/sha1.c
==============================================================================
--- trunk/libavutil/sha1.c (original)
+++ trunk/libavutil/sha1.c Tue Mar 13 01:19:26 2007
@@ -163,7 +163,7 @@ void av_sha1_final(AVSHA1* context, uint
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++)
More information about the ffmpeg-cvslog
mailing list