From 1fda184a85178cfd7b98d9e308d18e1ded76a511 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 30 Apr 2013 18:31:25 +0200 Subject: avutil: Add av_cold attributes to init functions missing them --- libavutil/hmac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavutil/hmac.c') 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 +#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); } -- cgit v1.2.3