Mercurial > libavcodec.hg
diff shorten.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | f9d2ca73e3b6 |
children | a4104482ceef |
line wrap: on
line diff
--- a/shorten.c Thu Mar 20 19:36:20 2008 +0000 +++ b/shorten.c Fri Mar 21 03:11:20 2008 +0000 @@ -100,7 +100,7 @@ int32_t lpcqoffset; } ShortenContext; -static int shorten_decode_init(AVCodecContext * avctx) +static av_cold int shorten_decode_init(AVCodecContext * avctx) { ShortenContext *s = avctx->priv_data; s->avctx = avctx; @@ -501,7 +501,7 @@ return i; } -static int shorten_decode_close(AVCodecContext *avctx) +static av_cold int shorten_decode_close(AVCodecContext *avctx) { ShortenContext *s = avctx->priv_data; int i;