summaryrefslogtreecommitdiff
path: root/libavcodec/cbrt_tablegen.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-30 17:35:18 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-31 10:33:02 +0200
commit03bf4572419739a6a308c2a667a62f4797fadf49 (patch)
tree17729e29c121b82f8133dc82365c4bb8f8609274 /libavcodec/cbrt_tablegen.h
parent4fe448738e8d4d87295e1fc7b68bb04f7453c3b9 (diff)
downloadffmpeg-03bf4572419739a6a308c2a667a62f4797fadf49.tar.gz
Add av_cold to table generation functions.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/cbrt_tablegen.h')
-rw-r--r--libavcodec/cbrt_tablegen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cbrt_tablegen.h b/libavcodec/cbrt_tablegen.h
index 0db64fcf95..d8c77c2221 100644
--- a/libavcodec/cbrt_tablegen.h
+++ b/libavcodec/cbrt_tablegen.h
@@ -25,6 +25,7 @@
#include <stdint.h>
#include <math.h>
+#include "libavutil/attributes.h"
#if CONFIG_HARDCODED_TABLES
#define cbrt_tableinit()
@@ -32,7 +33,7 @@
#else
static uint32_t cbrt_tab[1 << 13];
-static void cbrt_tableinit(void)
+static av_cold void cbrt_tableinit(void)
{
if (!cbrt_tab[(1<<13) - 1]) {
int i;