Mercurial > libavcodec.hg
diff lclenc.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 | e21873a1c00b |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/lclenc.c Thu Mar 20 19:36:20 2008 +0000 +++ b/lclenc.c Fri Mar 21 03:11:20 2008 +0000 @@ -139,7 +139,7 @@ * Init lcl encoder * */ -static int encode_init(AVCodecContext *avctx) +static av_cold int encode_init(AVCodecContext *avctx) { LclEncContext *c = avctx->priv_data; int zret; // Zlib return code @@ -207,7 +207,7 @@ * Uninit lcl encoder * */ -static int encode_end(AVCodecContext *avctx) +static av_cold int encode_end(AVCodecContext *avctx) { LclEncContext *c = avctx->priv_data;