diff aasc.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 75b2158c583a
line wrap: on
line diff
--- a/aasc.c	Thu Mar 20 19:36:20 2008 +0000
+++ b/aasc.c	Fri Mar 21 03:11:20 2008 +0000
@@ -44,7 +44,7 @@
     } \
     stream_byte = buf[stream_ptr++];
 
-static int aasc_decode_init(AVCodecContext *avctx)
+static av_cold int aasc_decode_init(AVCodecContext *avctx)
 {
     AascContext *s = avctx->priv_data;
 
@@ -150,7 +150,7 @@
     return buf_size;
 }
 
-static int aasc_decode_end(AVCodecContext *avctx)
+static av_cold int aasc_decode_end(AVCodecContext *avctx)
 {
     AascContext *s = avctx->priv_data;