Mercurial > libavcodec.hg
diff fraps.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 | 36fb492f44cc |
children | a4104482ceef |
line wrap: on
line diff
--- a/fraps.c Thu Mar 20 19:36:20 2008 +0000 +++ b/fraps.c Fri Mar 21 03:11:20 2008 +0000 @@ -55,7 +55,7 @@ * @param avctx codec context * @return 0 on success or negative if fails */ -static int decode_init(AVCodecContext *avctx) +static av_cold int decode_init(AVCodecContext *avctx) { FrapsContext * const s = avctx->priv_data; @@ -343,7 +343,7 @@ * @param avctx codec context * @return 0 on success or negative if fails */ -static int decode_end(AVCodecContext *avctx) +static av_cold int decode_end(AVCodecContext *avctx) { FrapsContext *s = (FrapsContext*)avctx->priv_data;