diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-30 17:35:18 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 10:33:02 +0200 |
commit | 03bf4572419739a6a308c2a667a62f4797fadf49 (patch) | |
tree | 17729e29c121b82f8133dc82365c4bb8f8609274 /libavcodec/mpegaudio_tablegen.h | |
parent | 4fe448738e8d4d87295e1fc7b68bb04f7453c3b9 (diff) | |
download | ffmpeg-03bf4572419739a6a308c2a667a62f4797fadf49.tar.gz |
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.h | 3 |
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++) { |