Mercurial > libavcodec.hg
diff dvdsub_parser.c @ 9007:043574c5c153 libavcodec
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu.
author | stefano |
---|---|
date | Sun, 22 Feb 2009 13:48:55 +0000 |
parents | 04423b2f6e0b |
children |
line wrap: on
line diff
--- a/dvdsub_parser.c Sun Feb 22 11:35:32 2009 +0000 +++ b/dvdsub_parser.c Sun Feb 22 13:48:55 2009 +0000 @@ -29,7 +29,7 @@ int packet_index; } DVDSubParseContext; -static int dvdsub_parse_init(AVCodecParserContext *s) +static av_cold int dvdsub_parse_init(AVCodecParserContext *s) { return 0; } @@ -70,7 +70,7 @@ return buf_size; } -static void dvdsub_parse_close(AVCodecParserContext *s) +static av_cold void dvdsub_parse_close(AVCodecParserContext *s) { DVDSubParseContext *pc = s->priv_data; av_freep(&pc->packet);