# HG changeset patch # User michael # Date 1173745166 0 # Node ID 0ac5f1000ed1f7c3fc325498226838528adb38ff # Parent 5c84cfeb69a94b95d5e516b0377582c787485dfb zero byte idea by rich diff -r 5c84cfeb69a9 -r 0ac5f1000ed1 sha1.c --- 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++)