[FFmpeg-devel] [PATCH 2/4] avcodec/dca: fix av_cold placement in declarations
Michael Niedermayer
michael at niedermayer.cc
Thu Mar 3 12:33:50 CET 2016
On Thu, Mar 03, 2016 at 12:57:36AM +0100, Hendrik Leppkes wrote:
> 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.
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The educated differ from the uneducated as much as the living from the
dead. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160303/43452525/attachment.sig>
More information about the ffmpeg-devel
mailing list