From 98a6fff98c3f2e963783e52fb193529bdc14e040 Mon Sep 17 00:00:00 2001 From: Zuxy Meng Date: Fri, 21 Mar 2008 03:11:20 +0000 Subject: Apply 'cold' attribute to init/uninit functions in libavcodec Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/zmbvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/zmbvenc.c') diff --git a/libavcodec/zmbvenc.c b/libavcodec/zmbvenc.c index ce62ece4d2..b8455480da 100644 --- a/libavcodec/zmbvenc.c +++ b/libavcodec/zmbvenc.c @@ -231,7 +231,7 @@ static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void /** * 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 @@ static int encode_init(AVCodecContext *avctx) /** * Uninit zmbv encoder */ -static int encode_end(AVCodecContext *avctx) +static av_cold int encode_end(AVCodecContext *avctx) { ZmbvEncContext * const c = avctx->priv_data; -- cgit v1.2.3