mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
swresample: add av_cold to init functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e19d1840da
commit
c0e3b46118
@ -72,7 +72,7 @@ void swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSa
|
|||||||
av_free(tmp);
|
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;
|
int i;
|
||||||
double scale = 0;
|
double scale = 0;
|
||||||
|
@ -43,7 +43,7 @@ RESAMPLE_FUNCS(float, fma3);
|
|||||||
RESAMPLE_FUNCS(float, fma4);
|
RESAMPLE_FUNCS(float, fma4);
|
||||||
RESAMPLE_FUNCS(double, sse2);
|
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();
|
int av_unused mm_flags = av_get_cpu_flags();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user