Add missing av_cold in static init/close functions.

Patch by Daniel Verkamp daniel at drv dot nu.

Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Daniel Verkamp
2009-02-22 13:48:55 +00:00
committed by Stefano Sabatini
parent 50ded3fdb6
commit 5ef251e504
25 changed files with 60 additions and 60 deletions

View File

@@ -156,7 +156,7 @@ typedef struct AMRContext {
enum TXFrameType tx_frametype;
} AMRContext;
static int amr_nb_decode_init(AVCodecContext * avctx)
static av_cold int amr_nb_decode_init(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -184,7 +184,7 @@ static int amr_nb_decode_init(AVCodecContext * avctx)
return 0;
}
static int amr_nb_encode_init(AVCodecContext * avctx)
static av_cold int amr_nb_encode_init(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -225,7 +225,7 @@ static int amr_nb_encode_init(AVCodecContext * avctx)
return 0;
}
static int amr_nb_encode_close(AVCodecContext * avctx)
static av_cold int amr_nb_encode_close(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -235,7 +235,7 @@ static int amr_nb_encode_close(AVCodecContext * avctx)
return 0;
}
static int amr_nb_decode_close(AVCodecContext * avctx)
static av_cold int amr_nb_decode_close(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -362,7 +362,7 @@ typedef struct AMRContext {
int enc_bitrate;
} AMRContext;
static int amr_nb_decode_init(AVCodecContext * avctx)
static av_cold int amr_nb_decode_init(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -385,7 +385,7 @@ static int amr_nb_decode_init(AVCodecContext * avctx)
return 0;
}
static int amr_nb_encode_init(AVCodecContext * avctx)
static av_cold int amr_nb_encode_init(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -422,7 +422,7 @@ static int amr_nb_encode_init(AVCodecContext * avctx)
return 0;
}
static int amr_nb_decode_close(AVCodecContext * avctx)
static av_cold int amr_nb_decode_close(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;
@@ -430,7 +430,7 @@ static int amr_nb_decode_close(AVCodecContext * avctx)
return 0;
}
static int amr_nb_encode_close(AVCodecContext * avctx)
static av_cold int amr_nb_encode_close(AVCodecContext * avctx)
{
AMRContext *s = avctx->priv_data;