diff options
Diffstat (limited to 'libavcodec/aacpsy.c')
-rw-r--r-- | libavcodec/aacpsy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 51c669a06e..d2a782e8dd 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -24,6 +24,7 @@ * AAC encoder psychoacoustic model */ +#include "libavutil/attributes.h" #include "libavutil/libm.h" #include "avcodec.h" @@ -254,7 +255,8 @@ static float lame_calc_attack_threshold(int bitrate) /** * LAME psy model specific initialization */ -static void lame_window_init(AacPsyContext *ctx, AVCodecContext *avctx) { +static av_cold void lame_window_init(AacPsyContext *ctx, AVCodecContext *avctx) +{ int i, j; for (i = 0; i < avctx->channels; i++) { |