diff gifdec.c @ 6517:48759bfbd073 libavcodec

Apply 'cold' attribute to init/uninit functions in libavcodec
author zuxy
date Fri, 21 Mar 2008 03:11:20 +0000
parents 745a4216b352
children 5b3acf9fd50a
line wrap: on
line diff
--- a/gifdec.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/gifdec.c	Fri Mar 21 03:11:20 2008 +0000
@@ -269,7 +269,7 @@
     return -1;
 }
 
-static int gif_decode_init(AVCodecContext *avctx)
+static av_cold int gif_decode_init(AVCodecContext *avctx)
 {
     GifState *s = avctx->priv_data;
 
@@ -314,7 +314,7 @@
     return s->bytestream - buf;
 }
 
-static int gif_decode_close(AVCodecContext *avctx)
+static av_cold int gif_decode_close(AVCodecContext *avctx)
 {
     GifState *s = avctx->priv_data;