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/aacps_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/aacps_tablegen.h')
-rw-r--r-- | libavcodec/aacps_tablegen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aacps_tablegen.h b/libavcodec/aacps_tablegen.h index 9df38ffd84..ca1112ddd0 100644 --- a/libavcodec/aacps_tablegen.h +++ b/libavcodec/aacps_tablegen.h @@ -70,7 +70,7 @@ static const float g2_Q4[] = { 0.16486303567403f, 0.23279856662996f, 0.25f }; -static void make_filters_from_proto(float (*filter)[8][2], const float *proto, int bands) +static av_cold void make_filters_from_proto(float (*filter)[8][2], const float *proto, int bands) { int q, n; for (q = 0; q < bands; q++) { @@ -82,7 +82,7 @@ static void make_filters_from_proto(float (*filter)[8][2], const float *proto, i } } -static void ps_tableinit(void) +static av_cold void ps_tableinit(void) { static const float ipdopd_sin[] = { 0, M_SQRT1_2, 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2 }; static const float ipdopd_cos[] = { 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2, 0, M_SQRT1_2 }; |