diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-30 18:30:02 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:10:05 +0200 |
commit | 093804a93cc5da3f95f98265a5df116912443cec (patch) | |
tree | 11b7e05cdc96034ab6068b3b0890759eaa4afe5b /libavfilter/x86 | |
parent | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff) | |
download | ffmpeg-093804a93cc5da3f95f98265a5df116912443cec.tar.gz |
avfilter: Add av_cold attributes to init/uninit functions
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/af_volume_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/x86/af_volume_init.c b/libavfilter/x86/af_volume_init.c index 02bedd2c57..bc51dc9f5d 100644 --- a/libavfilter/x86/af_volume_init.c +++ b/libavfilter/x86/af_volume_init.c @@ -17,6 +17,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/samplefmt.h" #include "libavutil/x86/cpu.h" @@ -32,7 +33,7 @@ void ff_scale_samples_s32_ssse3_atom(uint8_t *dst, const uint8_t *src, int len, void ff_scale_samples_s32_avx(uint8_t *dst, const uint8_t *src, int len, int volume); -void ff_volume_init_x86(VolumeContext *vol) +av_cold void ff_volume_init_x86(VolumeContext *vol) { int mm_flags = av_get_cpu_flags(); enum AVSampleFormat sample_fmt = av_get_packed_sample_fmt(vol->sample_fmt); |