[FFmpeg-devel] [PATCH 2/4] avcodec/dca: fix av_cold placement in declarations
Hendrik Leppkes
h.leppkes at gmail.com
Thu Mar 3 00:57:36 CET 2016
On Wed, Mar 2, 2016 at 8:31 PM, foo86 <foobaz86 at gmail.com> wrote:
> ---
> 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 cd1af81..ffe8ef3 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;
> --
> 2.1.4
LGTM, thanks.
More information about the ffmpeg-devel
mailing list