diff alac.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 b42a510e0939
children eb001d01785c
line wrap: on
line diff
--- a/alac.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/alac.c	Fri Mar 21 03:11:20 2008 +0000
@@ -624,7 +624,7 @@
     return input_buffer_size;
 }
 
-static int alac_decode_init(AVCodecContext * avctx)
+static av_cold int alac_decode_init(AVCodecContext * avctx)
 {
     ALACContext *alac = avctx->priv_data;
     alac->avctx = avctx;
@@ -637,7 +637,7 @@
     return 0;
 }
 
-static int alac_decode_close(AVCodecContext *avctx)
+static av_cold int alac_decode_close(AVCodecContext *avctx)
 {
     ALACContext *alac = avctx->priv_data;