[FFmpeg-soc] [soc]: r4003 - in amr: amrnbdec.c amrnbfloatdec.c

diego subversion at mplayerhq.hu
Sun Jan 25 16:54:20 CET 2009


Author: diego
Date: Sun Jan 25 16:54:19 2009
New Revision: 4003

Log:
Add av_cold to initialization functions.

Modified:
   amr/amrnbdec.c
   amr/amrnbfloatdec.c

Modified: amr/amrnbdec.c
==============================================================================
--- amr/amrnbdec.c	Sun Jan 25 16:41:13 2009	(r4002)
+++ amr/amrnbdec.c	Sun Jan 25 16:54:19 2009	(r4003)
@@ -1286,7 +1286,7 @@ static int amrnb_decode_frame(AVCodecCon
 }
 
 
-static int amrnb_decode_close(AVCodecContext *avctx)
+static av_cold int amrnb_decode_close(AVCodecContext *avctx)
 {
     AMRContext *p = avctx->priv_data;
 

Modified: amr/amrnbfloatdec.c
==============================================================================
--- amr/amrnbfloatdec.c	Sun Jan 25 16:41:13 2009	(r4002)
+++ amr/amrnbfloatdec.c	Sun Jan 25 16:54:19 2009	(r4003)
@@ -122,7 +122,7 @@ static void reset_state(AMRContext *p)
     }
 }
 
-static int amrnb_decode_init(AVCodecContext *avctx)
+static av_cold int amrnb_decode_init(AVCodecContext *avctx)
 {
     AMRContext *p = avctx->priv_data;
 



More information about the FFmpeg-soc mailing list