Mercurial > libavcodec.hg
diff nuv.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 | 930ac362be5a |
children | a4104482ceef |
line wrap: on
line diff
--- a/nuv.c Thu Mar 20 19:36:20 2008 +0000 +++ b/nuv.c Fri Mar 21 03:11:20 2008 +0000 @@ -236,7 +236,7 @@ return orig_size; } -static int decode_init(AVCodecContext *avctx) { +static av_cold int decode_init(AVCodecContext *avctx) { NuvContext *c = avctx->priv_data; avctx->pix_fmt = PIX_FMT_YUV420P; c->pic.data[0] = NULL; @@ -253,7 +253,7 @@ return 0; } -static int decode_end(AVCodecContext *avctx) { +static av_cold int decode_end(AVCodecContext *avctx) { NuvContext *c = avctx->priv_data; av_freep(&c->decomp_buf); if (c->pic.data[0])