[FFmpeg-cvslog] avcodec/dca: fix av_cold placement in declarations

foo86 git at videolan.org
Thu Mar 3 12:36:05 CET 2016


ffmpeg | branch: master | foo86 <foobaz86 at gmail.com> | Wed Mar  2 22:31:46 2016 +0300| [89813487491afbca5472e8a4af262eedb4aead02] | committer: Michael Niedermayer

avcodec/dca: fix av_cold placement in declarations

Reviewed-by: Hendrik Leppkes <h.leppkes at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89813487491afbca5472e8a4af262eedb4aead02
---

 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;



More information about the ffmpeg-cvslog mailing list