From 22a80272aea73e788e0a37956729b673a03391a5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 27 Feb 2015 16:39:30 +0100 Subject: [PATCH] avcodec/diracdsp: Mark ff_diracdsp_init() as av_cold Signed-off-by: Michael Niedermayer --- libavcodec/diracdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/diracdsp.c b/libavcodec/diracdsp.c index 3b8c39dfea..6b02779edb 100644 --- a/libavcodec/diracdsp.c +++ b/libavcodec/diracdsp.c @@ -173,7 +173,7 @@ static void add_rect_clamped_c(uint8_t *dst, const uint16_t *src, int stride, c->PFX ## _dirac_pixels_tab[WIDTH>>4][2] = ff_ ## PFX ## _dirac_pixels ## WIDTH ## _l4_c; \ c->PFX ## _dirac_pixels_tab[WIDTH>>4][3] = ff_ ## PFX ## _dirac_pixels ## WIDTH ## _bilinear_c -void ff_diracdsp_init(DiracDSPContext *c) +av_cold void ff_diracdsp_init(DiracDSPContext *c) { c->dirac_hpel_filter = dirac_hpel_filter; c->add_rect_clamped = add_rect_clamped_c;