summaryrefslogtreecommitdiff
path: root/libavcodec/cbrt_tablegen.h
diff options
context:
space:
mode:
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;