Mercurial > libavcodec.hg
diff g726.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 | 931ca319f2fe |
children | a4104482ceef |
line wrap: on
line diff
--- a/g726.c Thu Mar 20 19:36:20 2008 +0000 +++ b/g726.c Fri Mar 21 03:11:20 2008 +0000 @@ -266,7 +266,7 @@ return av_clip(re_signal << 2, -0xffff, 0xffff); } -static int g726_reset(G726Context* c, int bit_rate) +static av_cold int g726_reset(G726Context* c, int bit_rate) { int i; @@ -319,7 +319,7 @@ int code_size; } AVG726Context; -static int g726_init(AVCodecContext * avctx) +static av_cold int g726_init(AVCodecContext * avctx) { AVG726Context* c = (AVG726Context*)avctx->priv_data; @@ -346,7 +346,7 @@ return 0; } -static int g726_close(AVCodecContext *avctx) +static av_cold int g726_close(AVCodecContext *avctx) { av_freep(&avctx->coded_frame); return 0;