提交 cb496e1f 编写于 作者: M Michael Niedermayer

zero byte idea by rich

Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 6573578d
......@@ -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++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册