From 89813487491afbca5472e8a4af262eedb4aead02 Mon Sep 17 00:00:00 2001 From: foo86 Date: Wed, 2 Mar 2016 22:31:46 +0300 Subject: [PATCH] avcodec/dca: fix av_cold placement in declarations Reviewed-by: Hendrik Leppkes Signed-off-by: Michael Niedermayer --- libavcodec/dca_xll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dca_xll.c b/libavcodec/dca_xll.c index cd1af81dcc..ffe8ef3369 100644 --- a/libavcodec/dca_xll.c +++ b/libavcodec/dca_xll.c @@ -602,7 +602,7 @@ static int chs_parse_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band, int s return 0; } -static void av_cold chs_clear_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band, int seg) +static av_cold void chs_clear_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band, int seg) { DCAXllBand *b = &c->bands[band]; int i, offset, nsamples; @@ -1242,7 +1242,7 @@ static void scale_down_mix(DCAXllDecoder *s, DCAXllChSet *o, int band) // Clear all band data and replace non-residual encoded channels with lossy // counterparts -static void av_cold force_lossy_output(DCAXllDecoder *s, DCAXllChSet *c) +static av_cold void force_lossy_output(DCAXllDecoder *s, DCAXllChSet *c) { DCAContext *dca = s->avctx->priv_data; int band, ch; -- GitLab