comparison aac.c @ 11177:69020e1846fe libavcodec

AAC: Mark che_configure() as av_cold. It is also only called when the output configuration is not locked.
author alexc
date Mon, 15 Feb 2010 16:29:46 +0000
parents 490544c08c48
children f5d50932acc0
comparison
equal deleted inserted replaced
11176:490544c08c48 11177:69020e1846fe
167 * @param id channel element id 167 * @param id channel element id
168 * @param channels count of the number of channels in the configuration 168 * @param channels count of the number of channels in the configuration
169 * 169 *
170 * @return Returns error status. 0 - OK, !0 - error 170 * @return Returns error status. 0 - OK, !0 - error
171 */ 171 */
172 static int che_configure(AACContext *ac, 172 static av_cold int che_configure(AACContext *ac,
173 enum ChannelPosition che_pos[4][MAX_ELEM_ID], 173 enum ChannelPosition che_pos[4][MAX_ELEM_ID],
174 int type, int id, 174 int type, int id,
175 int *channels) 175 int *channels)
176 { 176 {
177 if (che_pos[type][id]) { 177 if (che_pos[type][id]) {