aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/libamr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libamr.c')
-rw-r--r--libavcodec/libamr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c
index 80cb09019b..6a9de50fdc 100644
--- a/libavcodec/libamr.c
+++ b/libavcodec/libamr.c
@@ -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;