summaryrefslogtreecommitdiff
path: root/libavutil/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/hmac.c')
-rw-r--r--libavutil/hmac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/hmac.c b/libavutil/hmac.c
index f82b5a3d77..f87728e181 100644
--- a/libavutil/hmac.c
+++ b/libavutil/hmac.c
@@ -20,6 +20,7 @@
#include <string.h>
+#include "attributes.h"
#include "hmac.h"
#include "md5.h"
#include "sha.h"
@@ -38,7 +39,7 @@ struct AVHMAC {
int keylen;
};
-static void sha1_init(void *ctx)
+static av_cold void sha1_init(void *ctx)
{
av_sha_init(ctx, 160);
}