Mercurial > libavcodec.hg
diff tta.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 | 838520e2b6f0 |
children | 6eeb19edcee3 |
line wrap: on
line diff
--- a/tta.c Thu Mar 20 19:36:20 2008 +0000 +++ b/tta.c Fri Mar 21 03:11:20 2008 +0000 @@ -197,7 +197,7 @@ return ret; } -static int tta_decode_init(AVCodecContext * avctx) +static av_cold int tta_decode_init(AVCodecContext * avctx) { TTAContext *s = avctx->priv_data; int i; @@ -425,7 +425,7 @@ return buf_size; } -static int tta_decode_close(AVCodecContext *avctx) { +static av_cold int tta_decode_close(AVCodecContext *avctx) { TTAContext *s = avctx->priv_data; if (s->decode_buffer)