Mercurial > libavcodec.hg
diff flacenc.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 | 56592543346c |
children | 85acd5166cf8 |
line wrap: on
line diff
--- a/flacenc.c Thu Mar 20 19:36:20 2008 +0000 +++ b/flacenc.c Fri Mar 21 03:11:20 2008 +0000 @@ -169,7 +169,7 @@ return blocksize; } -static int flac_encode_init(AVCodecContext *avctx) +static av_cold int flac_encode_init(AVCodecContext *avctx) { int freq = avctx->sample_rate; int channels = avctx->channels; @@ -1486,7 +1486,7 @@ return out_bytes; } -static int flac_encode_close(AVCodecContext *avctx) +static av_cold int flac_encode_close(AVCodecContext *avctx) { av_freep(&avctx->extradata); avctx->extradata_size = 0;