aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-30 18:30:02 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:10:05 +0200
commit093804a93cc5da3f95f98265a5df116912443cec (patch)
tree11b7e05cdc96034ab6068b3b0890759eaa4afe5b /libavfilter/x86
parent6fee1b90ce3bf4fbdfde7016e0890057c9000487 (diff)
downloadffmpeg-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.c3
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);