Add av_cold attribute to amr_nb decoding/encoding initialization functions.

Originally committed as revision 18843 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Diego Biurrun 16 years ago
parent e5cd2d3dca
commit d2dfde0811
  1. 4
      libavcodec/libamr.c

@ -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;

Loading…
Cancel
Save