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/sha.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavutil/sha.c') diff --git a/libavutil/sha.c b/libavutil/sha.c index c7c6ce38cf..2d9b58cda6 100644 --- a/libavutil/sha.c +++ b/libavutil/sha.c @@ -22,6 +22,8 @@ */ #include + +#include "attributes.h" #include "avutil.h" #include "bswap.h" #include "sha.h" @@ -251,7 +253,7 @@ static void sha256_transform(uint32_t *state, const uint8_t buffer[64]) } -int av_sha_init(AVSHA* ctx, int bits) +av_cold int av_sha_init(AVSHA *ctx, int bits) { ctx->digest_len = bits >> 5; switch (bits) { -- cgit v1.2.3