summaryrefslogtreecommitdiff
path: root/libavcodec/aac.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-02-15 16:19:46 +0000
committerAlex Converse <alex.converse@gmail.com>2010-02-15 16:19:46 +0000
commitff98c17cba7698f851276b53f87446e72aeda4a4 (patch)
treef8b5335cb00a5b1cdb4a2bd02357ca033581cb44 /libavcodec/aac.c
parent005caa348634ad25999c52be920ad0db9d82501d (diff)
AAC: Mark functions that are only called when the output configuration is not locked as av_cold.
Originally committed as revision 21833 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r--libavcodec/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index 90581fc6d7..fdb054ceb8 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -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)
{