Mercurial > libavcodec.hg
diff vorbis_dec.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 | 97a875069d54 |
children | a4104482ceef |
line wrap: on
line diff
--- a/vorbis_dec.c Thu Mar 20 19:36:20 2008 +0000 +++ b/vorbis_dec.c Fri Mar 21 03:11:20 2008 +0000 @@ -923,7 +923,7 @@ // Process the extradata using the functions above (identification header, setup header) -static int vorbis_decode_init(AVCodecContext *avccontext) { +static av_cold int vorbis_decode_init(AVCodecContext *avccontext) { vorbis_context *vc = avccontext->priv_data ; uint8_t *headers = avccontext->extradata; int headers_len=avccontext->extradata_size; @@ -1617,7 +1617,7 @@ // Close decoder -static int vorbis_decode_close(AVCodecContext *avccontext) { +static av_cold int vorbis_decode_close(AVCodecContext *avccontext) { vorbis_context *vc = avccontext->priv_data; vorbis_free(vc);