Browse Source

avcodec/dca: fix av_cold placement in declarations

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
foo86 Michael Niedermayer 10 years ago
parent
commit
8981348749
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/dca_xll.c

+ 2
- 2
libavcodec/dca_xll.c View File

@@ -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;


Loading…
Cancel
Save