]> git.sesse.net Git - ffmpeg/commitdiff
AAC: Mark functions that are only called when the output configuration is not locked...
authorAlex Converse <alex.converse@gmail.com>
Mon, 15 Feb 2010 16:19:46 +0000 (16:19 +0000)
committerAlex Converse <alex.converse@gmail.com>
Mon, 15 Feb 2010 16:19:46 +0000 (16:19 +0000)
Originally committed as revision 21833 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aac.c

index 90581fc6d743e8f137e606e837cbb850c3ae9694..fdb054ceb867ebc3213faa03c897135b8a5574f4 100644 (file)
@@ -196,7 +196,7 @@ static int che_configure(AACContext *ac,
  *
  * @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 @@ static int decode_pce(AACContext *ac, enum ChannelPosition new_che_pos[4][MAX_EL
  *
  * @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)
 {