Browse Source

swresample: add av_cold to init functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
c0e3b46118
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libswresample/dither.c
  2. +1
    -1
      libswresample/x86/resample_init.c

+ 1
- 1
libswresample/dither.c View File

@@ -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;


+ 1
- 1
libswresample/x86/resample_init.c View File

@@ -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();



Loading…
Cancel
Save