diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 02:26:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 02:26:20 +0200 |
commit | 31a797eb2846ffa9c7ef2fa0abf81e946a173e6e (patch) | |
tree | c80661f76eca024fb1b357c7e0da1b4e5023f124 /libswresample/rematrix.c | |
parent | dd081f98dded8e268a70468a43b25b077c8c3571 (diff) | |
download | ffmpeg-31a797eb2846ffa9c7ef2fa0abf81e946a173e6e.tar.gz |
swr: add av_cold to init/free functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r-- | libswresample/rematrix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c index 1117f235cc..72da438e6c 100644 --- a/libswresample/rematrix.c +++ b/libswresample/rematrix.c @@ -133,7 +133,7 @@ static int sane_layout(int64_t layout){ return 1; } -static int auto_matrix(SwrContext *s) +av_cold static int auto_matrix(SwrContext *s) { int i, j, out_i; double matrix[64][64]={{0}}; @@ -349,7 +349,7 @@ static int auto_matrix(SwrContext *s) return 0; } -int swri_rematrix_init(SwrContext *s){ +av_cold int swri_rematrix_init(SwrContext *s){ int i, j; 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); @@ -409,7 +409,7 @@ int swri_rematrix_init(SwrContext *s){ return 0; } -void swri_rematrix_free(SwrContext *s){ +av_cold void swri_rematrix_free(SwrContext *s){ av_freep(&s->native_matrix); av_freep(&s->native_one); av_freep(&s->native_simd_matrix); |