comparison aac_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 ced30500e2b1
children 32b984487899
comparison
equal deleted inserted replaced
6516:dbb902bb2347 6517:48759bfbd073
79 *bit_rate = size * 8 * *sample_rate / *samples; 79 *bit_rate = size * 8 * *sample_rate / *samples;
80 80
81 return size; 81 return size;
82 } 82 }
83 83
84 static int aac_parse_init(AVCodecParserContext *s1) 84 static av_cold int aac_parse_init(AVCodecParserContext *s1)
85 { 85 {
86 AACAC3ParseContext *s = s1->priv_data; 86 AACAC3ParseContext *s = s1->priv_data;
87 s->inbuf_ptr = s->inbuf; 87 s->inbuf_ptr = s->inbuf;
88 s->header_size = AAC_HEADER_SIZE; 88 s->header_size = AAC_HEADER_SIZE;
89 s->sync = aac_sync; 89 s->sync = aac_sync;