diff --git a/libavcodec/atrac.c b/libavcodec/atrac.c
index 0f5721500e2f6a26544ff76692457fd262820cae..f36db9e8c5f8fe62019d716a2bf669f1083448d5 100644
--- a/libavcodec/atrac.c
+++ b/libavcodec/atrac.c
@@ -45,7 +45,7 @@ static const float qmf_48tap_half[24] = {
    -0.043596379,   -0.099384367,   0.13207909,    0.46424159
 };
 
-void ff_atrac_generate_tables(void)
+av_cold void ff_atrac_generate_tables(void)
 {
     int i;
     float s;