summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudio_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/mpegaudio_tablegen.h
parent4fe448738e8d4d87295e1fc7b68bb04f7453c3b9 (diff)
Add av_cold to table generation functions.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/mpegaudio_tablegen.h')
-rw-r--r--libavcodec/mpegaudio_tablegen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio_tablegen.h b/libavcodec/mpegaudio_tablegen.h
index f9557c9ae1..86b2cd32b0 100644
--- a/libavcodec/mpegaudio_tablegen.h
+++ b/libavcodec/mpegaudio_tablegen.h
@@ -25,6 +25,7 @@
#include <stdint.h>
#include <math.h>
+#include "libavutil/attributes.h"
#define TABLE_4_3_SIZE (8191 + 16)*4
#if CONFIG_HARDCODED_TABLES
@@ -41,7 +42,7 @@ static float expval_table_float[512][16];
#define FRAC_BITS 23
#define IMDCT_SCALAR 1.759
-static void mpegaudio_tableinit(void)
+static av_cold void mpegaudio_tableinit(void)
{
int i, value, exponent;
for (i = 1; i < TABLE_4_3_SIZE; i++) {