Mercurial > libavcodec.hg
diff 4xm.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 | c32be43b52b2 |
children | 52925923273f |
line wrap: on
line diff
--- a/4xm.c Thu Mar 20 19:36:20 2008 +0000 +++ b/4xm.c Fri Mar 21 03:11:20 2008 +0000 @@ -235,7 +235,7 @@ } } -static void init_vlcs(FourXContext *f){ +static av_cold void init_vlcs(FourXContext *f){ int i; for(i=0; i<8; i++){ @@ -792,7 +792,7 @@ f->avctx= avctx; } -static int decode_init(AVCodecContext *avctx){ +static av_cold int decode_init(AVCodecContext *avctx){ FourXContext * const f = avctx->priv_data; if(avctx->extradata_size != 4 || !avctx->extradata) { @@ -811,7 +811,7 @@ } -static int decode_end(AVCodecContext *avctx){ +static av_cold int decode_end(AVCodecContext *avctx){ FourXContext * const f = avctx->priv_data; int i;