Mercurial > libavcodec.hg
diff adxenc.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 | b1b3dd3324ae |
children | a4104482ceef |
line wrap: on
line diff
--- a/adxenc.c Thu Mar 20 19:36:20 2008 +0000 +++ b/adxenc.c Fri Mar 21 03:11:20 2008 +0000 @@ -110,7 +110,7 @@ return 0x20+4; } -static int adx_encode_init(AVCodecContext *avctx) +static av_cold int adx_encode_init(AVCodecContext *avctx) { if (avctx->channels > 2) return -1; /* only stereo or mono =) */ @@ -126,7 +126,7 @@ return 0; } -static int adx_encode_close(AVCodecContext *avctx) +static av_cold int adx_encode_close(AVCodecContext *avctx) { av_freep(&avctx->coded_frame);