From 4b81366b07f4f441089b86ebddb2f0d9cff28a06 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 8 Feb 2009 23:25:56 +0000 Subject: [PATCH] Add av_cold attribute to init function. Originally committed as revision 17082 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index cb95cd8d0d..20f1d3f160 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1022,7 +1022,7 @@ static void dump_cook_context(COOKContext *q) * @param avctx pointer to the AVCodecContext */ -static int cook_decode_init(AVCodecContext *avctx) +static av_cold int cook_decode_init(AVCodecContext *avctx) { COOKContext *q = avctx->priv_data; const uint8_t *edata_ptr = avctx->extradata;