From 98a6fff98c3f2e963783e52fb193529bdc14e040 Mon Sep 17 00:00:00 2001 From: Zuxy Meng Date: Fri, 21 Mar 2008 03:11:20 +0000 Subject: Apply 'cold' attribute to init/uninit functions in libavcodec Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/ac3_parser.c') diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index 9bda203809..bae788ed49 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -137,7 +137,7 @@ static int ac3_sync(const uint8_t *buf, int *channels, int *sample_rate, return hdr.frame_size; } -static int ac3_parse_init(AVCodecParserContext *s1) +static av_cold int ac3_parse_init(AVCodecParserContext *s1) { AACAC3ParseContext *s = s1->priv_data; s->inbuf_ptr = s->inbuf; -- cgit v1.2.3