diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-30 18:31:25 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 22:48:05 +0200 |
commit | 1fda184a85178cfd7b98d9e308d18e1ded76a511 (patch) | |
tree | d1b78c0123ad08511b03f7108f3d7bbb8bd4d71a /libavutil/sha.c | |
parent | 20c86571ccc71412781d4a4813e4693e0c42aec6 (diff) | |
download | ffmpeg-1fda184a85178cfd7b98d9e308d18e1ded76a511.tar.gz |
avutil: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavutil/sha.c')
-rw-r--r-- | libavutil/sha.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <string.h> + +#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) { |