OSDN Git Service

AAC: Mark che_configure() as av_cold.
authorAlex Converse <alex.converse@gmail.com>
Mon, 15 Feb 2010 16:29:46 +0000 (16:29 +0000)
committerAlex Converse <alex.converse@gmail.com>
Mon, 15 Feb 2010 16:29:46 +0000 (16:29 +0000)
It is also only called when the output configuration is not locked.

Originally committed as revision 21834 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aac.c

index fdb054c..1561449 100644 (file)
@@ -169,7 +169,7 @@ static ChannelElement *get_che(AACContext *ac, int type, int elem_id)
  *
  * @return  Returns error status. 0 - OK, !0 - error
  */
-static int che_configure(AACContext *ac,
+static av_cold int che_configure(AACContext *ac,
                          enum ChannelPosition che_pos[4][MAX_ELEM_ID],
                          int type, int id,
                          int *channels)