changeset 300:0ac5f1000ed1 libavutil

zero byte idea by rich
author michael
date Tue, 13 Mar 2007 00:19:26 +0000
parents 5c84cfeb69a9
children b1c6f2421786
files sha1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sha1.c	Tue Mar 13 00:17:55 2007 +0000
+++ b/sha1.c	Tue Mar 13 00:19:26 2007 +0000
@@ -163,7 +163,7 @@
 
     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++)