changeset 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 30856cadb01b
children 69020e1846fe
files aac.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)
 {