Mercurial > libavcodec.hg
comparison ac3_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 | 76801e61ddc4 |
children | 32b984487899 |
comparison
equal
deleted
inserted
replaced
6516:dbb902bb2347 | 6517:48759bfbd073 |
---|---|
135 *channels = hdr.channels; | 135 *channels = hdr.channels; |
136 *samples = AC3_FRAME_SIZE; | 136 *samples = AC3_FRAME_SIZE; |
137 return hdr.frame_size; | 137 return hdr.frame_size; |
138 } | 138 } |
139 | 139 |
140 static int ac3_parse_init(AVCodecParserContext *s1) | 140 static av_cold int ac3_parse_init(AVCodecParserContext *s1) |
141 { | 141 { |
142 AACAC3ParseContext *s = s1->priv_data; | 142 AACAC3ParseContext *s = s1->priv_data; |
143 s->inbuf_ptr = s->inbuf; | 143 s->inbuf_ptr = s->inbuf; |
144 s->header_size = AC3_HEADER_SIZE; | 144 s->header_size = AC3_HEADER_SIZE; |
145 s->sync = ac3_sync; | 145 s->sync = ac3_sync; |