Mercurial > libavcodec.hg
diff cavs.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 | c16a59ef6a86 |
children | 33f51dd2491f |
line wrap: on
line diff
--- a/cavs.c Thu Mar 20 19:36:20 2008 +0000 +++ b/cavs.c Fri Mar 21 03:11:20 2008 +0000 @@ -668,7 +668,7 @@ h->block = av_mallocz(64*sizeof(DCTELEM)); } -int ff_cavs_init(AVCodecContext *avctx) { +av_cold int ff_cavs_init(AVCodecContext *avctx) { AVSContext *h = avctx->priv_data; MpegEncContext * const s = &h->s; @@ -699,7 +699,7 @@ return 0; } -int ff_cavs_end(AVCodecContext *avctx) { +av_cold int ff_cavs_end(AVCodecContext *avctx) { AVSContext *h = avctx->priv_data; av_free(h->top_qp);