Mercurial > libavcodec.hg
diff bethsoftvideo.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 | f3621aff9ff0 |
children | a4104482ceef |
line wrap: on
line diff
--- a/bethsoftvideo.c Thu Mar 20 19:36:20 2008 +0000 +++ b/bethsoftvideo.c Fri Mar 21 03:11:20 2008 +0000 @@ -36,7 +36,7 @@ AVFrame frame; } BethsoftvidContext; -static int bethsoftvid_decode_init(AVCodecContext *avctx) +static av_cold int bethsoftvid_decode_init(AVCodecContext *avctx) { BethsoftvidContext *vid = avctx->priv_data; vid->frame.reference = 1; @@ -120,7 +120,7 @@ return buf_size; } -static int bethsoftvid_decode_end(AVCodecContext *avctx) +static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx) { BethsoftvidContext * vid = avctx->priv_data; if(vid->frame.data[0])