changeset 9649:2d4718adf588 libavcodec

Add av_cold attribute to amr_nb decoding/encoding initialization functions.
author diego
date Fri, 15 May 2009 17:15:12 +0000
parents 62d00a9c3824
children 531474d55492
files libamr.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libamr.c	Fri May 15 16:25:54 2009 +0000
+++ b/libamr.c	Fri May 15 17:15:12 2009 +0000
@@ -341,7 +341,7 @@
     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 @@
     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;