[FFmpeg-cvslog] r21833 - trunk/libavcodec/aac.c

alexc subversion
Mon Feb 15 17:19:46 CET 2010


Author: alexc
Date: Mon Feb 15 17:19:46 2010
New Revision: 21833

Log:
AAC: Mark functions that are only called when the output configuration is not locked as av_cold.

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Mon Feb 15 13:45:14 2010	(r21832)
+++ trunk/libavcodec/aac.c	Mon Feb 15 17:19:46 2010	(r21833)
@@ -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, en
  *
  * @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)
 {



More information about the ffmpeg-cvslog mailing list