diff aac.c @ 11176:490544c08c48 libavcodec

AAC: Mark functions that are only called when the output configuration is not locked as av_cold.
author alexc
date Mon, 15 Feb 2010 16:19:46 +0000
parents 134644e36859
children 69020e1846fe
line wrap: on
line diff
--- a/aac.c	Mon Feb 15 11:26:35 2010 +0000
+++ b/aac.c	Mon Feb 15 16:19:46 2010 +0000
@@ -196,7 +196,7 @@
  *
  * @return  Returns error status. 0 - OK, !0 - error
  */
-static int output_configure(AACContext *ac,
+static av_cold int output_configure(AACContext *ac,
                             enum ChannelPosition che_pos[4][MAX_ELEM_ID],
                             enum ChannelPosition new_che_pos[4][MAX_ELEM_ID],
                             int channel_config, enum OCStatus oc_type)
@@ -324,7 +324,7 @@
  *
  * @return  Returns error status. 0 - OK, !0 - error
  */
-static int set_default_channel_config(AACContext *ac,
+static av_cold int set_default_channel_config(AACContext *ac,
                                       enum ChannelPosition new_che_pos[4][MAX_ELEM_ID],
                                       int channel_config)
 {