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 cb95cd8d0d29d94b6c6400b65e5cfac77437432f..20f1d3f160ab60dc3750b806060abe8b1950c65c 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;