Mercurial > libavcodec.hg
diff zmbvenc.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 | 2b72f9bc4f06 |
children | f282270c589f |
line wrap: on
line diff
--- a/zmbvenc.c Thu Mar 20 19:36:20 2008 +0000 +++ b/zmbvenc.c Fri Mar 21 03:11:20 2008 +0000 @@ -231,7 +231,7 @@ /** * Init zmbv encoder */ -static int encode_init(AVCodecContext *avctx) +static av_cold int encode_init(AVCodecContext *avctx) { ZmbvEncContext * const c = avctx->priv_data; int zret; // Zlib return code @@ -297,7 +297,7 @@ /** * Uninit zmbv encoder */ -static int encode_end(AVCodecContext *avctx) +static av_cold int encode_end(AVCodecContext *avctx) { ZmbvEncContext * const c = avctx->priv_data;