From: Diego Biurrun Date: Sun, 8 Feb 2009 23:25:56 +0000 (+0000) Subject: Add av_cold attribute to init function. X-Git-Tag: v0.5~693 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b81366b07f4f441089b86ebddb2f0d9cff28a06;p=platform%2Fupstream%2Flibav.git Add av_cold attribute to init function. Originally committed as revision 17082 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/cook.c b/libavcodec/cook.c index cb95cd8d0..20f1d3f16 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;