Add av_cold attribute to init function.
authorDiego Biurrun <diego@biurrun.de>
Sun, 8 Feb 2009 23:25:56 +0000 (23:25 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 8 Feb 2009 23:25:56 +0000 (23:25 +0000)
Originally committed as revision 17082 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cook.c

index cb95cd8..20f1d3f 100644 (file)
@@ -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;