[FFmpeg-soc] [soc]: r4040 - amr/amrnbdec.c dirac/libavcodec/diracdec.c dirac/libavcodec/diracenc.c

diego subversion at mplayerhq.hu
Wed Feb 11 00:53:34 CET 2009


Author: diego
Date: Wed Feb 11 00:53:33 2009
New Revision: 4040

Log:
Add av_cold attribute to _init and _end functions.

Modified:
   amr/amrnbdec.c
   dirac/libavcodec/diracdec.c
   dirac/libavcodec/diracenc.c

Modified: amr/amrnbdec.c
==============================================================================
--- amr/amrnbdec.c	Tue Feb 10 23:57:29 2009	(r4039)
+++ amr/amrnbdec.c	Wed Feb 11 00:53:33 2009	(r4040)
@@ -76,7 +76,7 @@ typedef struct AMRContext {
 } AMRContext;
 
 
-static int amrnb_decode_init(AVCodecContext *avctx)
+static av_cold int amrnb_decode_init(AVCodecContext *avctx)
 {
     AMRContext *p = avctx->priv_data;
 

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	Tue Feb 10 23:57:29 2009	(r4039)
+++ dirac/libavcodec/diracdec.c	Wed Feb 11 00:53:33 2009	(r4040)
@@ -90,7 +90,7 @@ static av_cold int decode_init(AVCodecCo
     return 0;
 }
 
-static int decode_end(AVCodecContext *avctx)
+static av_cold int decode_end(AVCodecContext *avctx)
 {
     DiracContext *s = avctx->priv_data;
 

Modified: dirac/libavcodec/diracenc.c
==============================================================================
--- dirac/libavcodec/diracenc.c	Tue Feb 10 23:57:29 2009	(r4039)
+++ dirac/libavcodec/diracenc.c	Wed Feb 11 00:53:33 2009	(r4040)
@@ -53,7 +53,7 @@ static av_cold int encode_init(AVCodecCo
     return 0;
 }
 
-static int encode_end(AVCodecContext *avctx)
+static av_cold int encode_end(AVCodecContext *avctx)
 {
     DiracContext *s = avctx->priv_data;
 



More information about the FFmpeg-soc mailing list