diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 00:19:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 00:19:26 +0000 |
commit | cb496e1f12269ac3f832f9d7007fd6651c3cce6c (patch) | |
tree | ae34f4d475b2d83a6869cc5a5f6209821293707d /libavutil | |
parent | 6573578d7b69718137fa19d608f59cd6f3efb92c (diff) | |
download | ffmpeg-streaming-cb496e1f12269ac3f832f9d7007fd6651c3cce6c.zip ffmpeg-streaming-cb496e1f12269ac3f832f9d7007fd6651c3cce6c.tar.gz |
zero byte idea by rich
Originally committed as revision 8368 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c index f6bfd86..996ddd1 100644 --- a/libavutil/sha1.c +++ b/libavutil/sha1.c @@ -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++) |