zero byte idea by rich

Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-03-13 00:19:26 +00:00
parent 6573578d7b
commit cb496e1f12
1 changed files with 1 additions and 1 deletions

View File

@ -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++)