Mercurial > libavcodec.hg
diff rawdec.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 | 66969d0e4a6d |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/rawdec.c Thu Mar 20 19:36:20 2008 +0000 +++ b/rawdec.c Fri Mar 21 03:11:20 2008 +0000 @@ -64,7 +64,7 @@ return PIX_FMT_YUV420P; } -static int raw_init_decoder(AVCodecContext *avctx) +static av_cold int raw_init_decoder(AVCodecContext *avctx) { RawVideoContext *context = avctx->priv_data; @@ -145,7 +145,7 @@ return buf_size; } -static int raw_close_decoder(AVCodecContext *avctx) +static av_cold int raw_close_decoder(AVCodecContext *avctx) { RawVideoContext *context = avctx->priv_data;