Add av_cold attribute to amr_nb decoding/encoding initialization functions.

Originally committed as revision 18843 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-05-15 17:15:12 +00:00
parent e5cd2d3dca
commit d2dfde0811
1 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ typedef struct AMRWBContext {
Word16 allow_dtx;
} AMRWBContext;
static int amr_wb_encode_init(AVCodecContext * avctx)
static av_cold int amr_wb_encode_init(AVCodecContext * avctx)
{
AMRWBContext *s = avctx->priv_data;
@ -399,7 +399,7 @@ static int amr_wb_encode_frame(AVCodecContext *avctx,
return size;
}
static int amr_wb_decode_init(AVCodecContext * avctx)
static av_cold int amr_wb_decode_init(AVCodecContext * avctx)
{
AMRWBContext *s = avctx->priv_data;