diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 23:55:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-21 00:33:09 +0100 |
commit | c0e3b461185cee5e8624337e75a263e74543e15d (patch) | |
tree | 0b5238e3778c5f188e83c4a0d821e7db2099ab24 | |
parent | e19d1840da3a3969420f2ce2794086dca3a0dfa0 (diff) | |
download | ffmpeg-c0e3b461185cee5e8624337e75a263e74543e15d.tar.gz |
swresample: add av_cold to init functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswresample/dither.c | 2 | ||||
-rw-r--r-- | libswresample/x86/resample_init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libswresample/dither.c b/libswresample/dither.c index 8121f11c2f..ca09e67f4d 100644 --- a/libswresample/dither.c +++ b/libswresample/dither.c @@ -72,7 +72,7 @@ void swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSa av_free(tmp); } -int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt) +av_cold int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt) { int i; double scale = 0; diff --git a/libswresample/x86/resample_init.c b/libswresample/x86/resample_init.c index 99f5e14040..93001d65cb 100644 --- a/libswresample/x86/resample_init.c +++ b/libswresample/x86/resample_init.c @@ -43,7 +43,7 @@ RESAMPLE_FUNCS(float, fma3); RESAMPLE_FUNCS(float, fma4); RESAMPLE_FUNCS(double, sse2); -void swri_resample_dsp_x86_init(ResampleContext *c) +av_cold void swri_resample_dsp_x86_init(ResampleContext *c) { int av_unused mm_flags = av_get_cpu_flags(); |