summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/sha1.c b/libavutil/sha1.c
index f6bfd863a9..996ddd1140 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++)