diff options
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); |