diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 04:26:20 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 04:26:20 +0400 |
commit | 31a797eb2846ffa9c7ef2fa0abf81e946a173e6e (patch) | |
tree | c80661f76eca024fb1b357c7e0da1b4e5023f124 /libswresample/x86 | |
parent | dd081f98dded8e268a70468a43b25b077c8c3571 (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.c | 4 |
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); |