Mercurial > libavcodec.hg
diff txd.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 | 911d4939e3c8 |
children | 6eeb19edcee3 |
line wrap: on
line diff
--- a/txd.c Thu Mar 20 19:36:20 2008 +0000 +++ b/txd.c Fri Mar 21 03:11:20 2008 +0000 @@ -28,7 +28,7 @@ AVFrame picture; } TXDContext; -static int txd_init(AVCodecContext *avctx) { +static av_cold int txd_init(AVCodecContext *avctx) { TXDContext *s = avctx->priv_data; avcodec_get_frame_defaults(&s->picture); @@ -143,7 +143,7 @@ return -1; } -static int txd_end(AVCodecContext *avctx) { +static av_cold int txd_end(AVCodecContext *avctx) { TXDContext *s = avctx->priv_data; if (s->picture.data[0])