Mercurial > libavcodec.hg
diff mpegaudiodec.c @ 9007:043574c5c153 libavcodec
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu.
| author | stefano |
|---|---|
| date | Sun, 22 Feb 2009 13:48:55 +0000 |
| parents | e9d9d946f213 |
| children | 54bc8a2727b0 |
line wrap: on
line diff
--- a/mpegaudiodec.c Sun Feb 22 11:35:32 2009 +0000 +++ b/mpegaudiodec.c Sun Feb 22 13:48:55 2009 +0000 @@ -250,7 +250,7 @@ }; #endif -static void int_pow_init(void) +static av_cold void int_pow_init(void) { int i, a; @@ -308,7 +308,7 @@ } #endif -static int decode_init(AVCodecContext * avctx) +static av_cold int decode_init(AVCodecContext * avctx) { MPADecodeContext *s = avctx->priv_data; static int init=0; @@ -829,7 +829,7 @@ op2(sum2, (w2)[7 * 64], tmp);\ } -void ff_mpa_synth_init(MPA_INT *window) +void av_cold ff_mpa_synth_init(MPA_INT *window) { int i; @@ -2444,7 +2444,7 @@ } -static int decode_close_mp3on4(AVCodecContext * avctx) +static av_cold int decode_close_mp3on4(AVCodecContext * avctx) { MP3On4DecodeContext *s = avctx->priv_data; int i;
