summaryrefslogtreecommitdiff
path: root/libavcodec/dvdsub_parser.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-02-22 13:48:55 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-22 13:48:55 +0000
commit5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch)
treee752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/dvdsub_parser.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
downloadffmpeg-5ef251e50437ce84a00735c5cac8dd836fb032e9.tar.gz
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdsub_parser.c')
-rw-r--r--libavcodec/dvdsub_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dvdsub_parser.c b/libavcodec/dvdsub_parser.c
index c3686d1a44..8f1b8d08e3 100644
--- a/libavcodec/dvdsub_parser.c
+++ b/libavcodec/dvdsub_parser.c
@@ -29,7 +29,7 @@ typedef struct DVDSubParseContext {
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 @@ static int dvdsub_parse(AVCodecParserContext *s,
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);