Mercurial > libavcodec.hg
diff vc1.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 | 493dc59d469a |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/vc1.c Thu Mar 20 19:36:20 2008 +0000 +++ b/vc1.c Fri Mar 21 03:11:20 2008 +0000 @@ -3812,7 +3812,7 @@ * @todo TODO: Handle VC-1 IDUs (Transport level?) * @todo TODO: Decypher remaining bits in extra_data */ -static int vc1_decode_init(AVCodecContext *avctx) +static av_cold int vc1_decode_init(AVCodecContext *avctx) { VC1Context *v = avctx->priv_data; MpegEncContext *s = &v->s; @@ -4109,7 +4109,7 @@ /** Close a VC1/WMV3 decoder * @warning Initial try at using MpegEncContext stuff */ -static int vc1_decode_end(AVCodecContext *avctx) +static av_cold int vc1_decode_end(AVCodecContext *avctx) { VC1Context *v = avctx->priv_data;