Commit 89813487 authored by foo86's avatar foo86 Committed by Michael Niedermayer

avcodec/dca: fix av_cold placement in declarations

Reviewed-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 256fa2ab
...@@ -602,7 +602,7 @@ static int chs_parse_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band, int s ...@@ -602,7 +602,7 @@ static int chs_parse_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band, int s
return 0; 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]; DCAXllBand *b = &c->bands[band];
int i, offset, nsamples; int i, offset, nsamples;
...@@ -1242,7 +1242,7 @@ static void scale_down_mix(DCAXllDecoder *s, DCAXllChSet *o, int band) ...@@ -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 // Clear all band data and replace non-residual encoded channels with lossy
// counterparts // 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; DCAContext *dca = s->avctx->priv_data;
int band, ch; int band, ch;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment