[FFmpeg-soc] [soc]: r4004 - in dirac/libavcodec: diracdec.c diracenc.c

diego subversion at mplayerhq.hu
Sun Jan 25 16:55:31 CET 2009


Author: diego
Date: Sun Jan 25 16:55:31 2009
New Revision: 4004

Log:
Add av_cold to initialization functions.

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

Modified: dirac/libavcodec/diracdec.c
==============================================================================
--- dirac/libavcodec/diracdec.c	Sun Jan 25 16:54:19 2009	(r4003)
+++ dirac/libavcodec/diracdec.c	Sun Jan 25 16:55:31 2009	(r4004)
@@ -79,7 +79,7 @@ static int add_frame(AVFrame *(*framelis
     return -1;
 }
 
-static int decode_init(AVCodecContext *avctx)
+static av_cold int decode_init(AVCodecContext *avctx)
 {
     DiracContext *s = avctx->priv_data;
 

Modified: dirac/libavcodec/diracenc.c
==============================================================================
--- dirac/libavcodec/diracenc.c	Sun Jan 25 16:54:19 2009	(r4003)
+++ dirac/libavcodec/diracenc.c	Sun Jan 25 16:55:31 2009	(r4004)
@@ -37,7 +37,7 @@
 #include "dirac_wavelet.h"
 #include "mpeg12data.h"
 
-static int encode_init(AVCodecContext *avctx)
+static av_cold int encode_init(AVCodecContext *avctx)
 {
     DiracContext *s = avctx->priv_data;
     av_log_set_level(AV_LOG_DEBUG);



More information about the FFmpeg-soc mailing list