Mercurial > libavcodec.hg
diff tiff.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 | e7c178d397ea |
children | 6eeb19edcee3 |
line wrap: on
line diff
--- a/tiff.c Thu Mar 20 19:36:20 2008 +0000 +++ b/tiff.c Fri Mar 21 03:11:20 2008 +0000 @@ -461,7 +461,7 @@ return buf_size; } -static int tiff_init(AVCodecContext *avctx){ +static av_cold int tiff_init(AVCodecContext *avctx){ TiffContext *s = avctx->priv_data; s->width = 0; @@ -475,7 +475,7 @@ return 0; } -static int tiff_end(AVCodecContext *avctx) +static av_cold int tiff_end(AVCodecContext *avctx) { TiffContext * const s = avctx->priv_data;