aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libamr.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-05-15 17:15:12 +0000
committerDiego Biurrun <diego@biurrun.de>2009-05-15 17:15:12 +0000
commitd2dfde0811515e58cf14f826d01e38fa04b6d148 (patch)
tree23507e7629025a5eaf783621b6e79ddcd48fc2c4 /libavcodec/libamr.c
parente5cd2d3dca3bbba1961ee373fde24c5e112b0d80 (diff)
downloadffmpeg-d2dfde0811515e58cf14f826d01e38fa04b6d148.tar.gz
Add av_cold attribute to amr_nb decoding/encoding initialization functions.
Originally committed as revision 18843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libamr.c')
-rw-r--r--libavcodec/libamr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libamr.c b/libavcodec/libamr.c
index 453c14aeb3..34f4962611 100644
--- a/libavcodec/libamr.c
+++ b/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;