libavresample: Annotate AARCH64 init function with av_cold
authorPeter Meerwald <pmeerw@pmeerw.net>
Thu, 19 Feb 2015 22:28:27 +0000 (23:28 +0100)
committerMartin Storsjö <martin@martin.st>
Fri, 20 Feb 2015 17:32:37 +0000 (19:32 +0200)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavresample/aarch64/resample_init.c

index 9ef9977..ec321a3 100644 (file)
@@ -45,8 +45,8 @@ void ff_resample_one_s32_neon(struct ResampleContext *c, void *dst0,
                               int dst_index, const void *src0,
                               unsigned int index, int frac);
 
-void ff_audio_resample_init_aarch64(ResampleContext *c,
-                                    enum AVSampleFormat sample_fmt)
+av_cold void ff_audio_resample_init_aarch64(ResampleContext *c,
+                                            enum AVSampleFormat sample_fmt)
 {
     int cpu_flags = av_get_cpu_flags();