summaryrefslogtreecommitdiff
path: root/libavcodec/libamr.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-02-22 13:48:55 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-22 13:48:55 +0000
commit5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch)
treee752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/libamr.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
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
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;