summaryrefslogtreecommitdiff
path: root/libavutil/hmac.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-30 18:31:25 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-04 22:48:05 +0200
commit1fda184a85178cfd7b98d9e308d18e1ded76a511 (patch)
treed1b78c0123ad08511b03f7108f3d7bbb8bd4d71a /libavutil/hmac.c
parent20c86571ccc71412781d4a4813e4693e0c42aec6 (diff)
avutil: Add av_cold attributes to init functions missing them
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);
}