aboutsummaryrefslogtreecommitdiff
path: root/libswresample/x86
diff options
context:
space:
mode:
authorMichael Niedermayer2012-09-09 02:26:20 +0200
committerMichael Niedermayer2012-09-09 02:26:20 +0200
commit31a797eb2846ffa9c7ef2fa0abf81e946a173e6e (patch)
treec80661f76eca024fb1b357c7e0da1b4e5023f124 /libswresample/x86
parentdd081f98dded8e268a70468a43b25b077c8c3571 (diff)
swr: add av_cold to init/free functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/x86')
-rw-r--r--libswresample/x86/swresample_x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/x86/swresample_x86.c b/libswresample/x86/swresample_x86.c
index 93db7e3796..e18f0c57ba 100644
--- a/libswresample/x86/swresample_x86.c
+++ b/libswresample/x86/swresample_x86.c
@@ -30,7 +30,7 @@ PROTO4(_pack_2ch)
PROTO4(_pack_6ch)
PROTO4(_unpack_2ch)
-void swri_audio_convert_init_x86(struct AudioConvert *ac,
+av_cold void swri_audio_convert_init_x86(struct AudioConvert *ac,
enum AVSampleFormat out_fmt,
enum AVSampleFormat in_fmt,
int channels){
@@ -149,7 +149,7 @@ D(int16, mmx)
D(int16, sse2)
-void swri_rematrix_init_x86(struct SwrContext *s){
+av_cold void swri_rematrix_init_x86(struct SwrContext *s){
int mm_flags = av_get_cpu_flags();
int nb_in = av_get_channel_layout_nb_channels(s->in_ch_layout);
int nb_out = av_get_channel_layout_nb_channels(s->out_ch_layout);