Mercurial > libavcodec.hg
diff dvbsub_parser.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 | 0d1cc37d9430 |
children | de032bcdeff9 |
line wrap: on
line diff
--- a/dvbsub_parser.c Thu Mar 20 19:36:20 2008 +0000 +++ b/dvbsub_parser.c Fri Mar 21 03:11:20 2008 +0000 @@ -38,7 +38,7 @@ int in_packet; } DVBSubParseContext; -static int dvbsub_parse_init(AVCodecParserContext *s) +static av_cold int dvbsub_parse_init(AVCodecParserContext *s) { DVBSubParseContext *pc = s->priv_data; pc->packet_buf = av_malloc(PARSE_BUF_SIZE); @@ -181,7 +181,7 @@ return buf_size; } -static void dvbsub_parse_close(AVCodecParserContext *s) +static av_cold void dvbsub_parse_close(AVCodecParserContext *s) { DVBSubParseContext *pc = s->priv_data; av_freep(&pc->packet_buf);