[FFmpeg-soc] [soc]: r2226 - eac3/ac3dec.c

jbr subversion at mplayerhq.hu
Tue May 27 04:58:04 CEST 2008


Author: jbr
Date: Tue May 27 04:58:03 2008
New Revision: 2226

Log:
add av_cold to 3 functions

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Tue May 27 04:58:03 2008
@@ -129,7 +129,7 @@ symmetric_dequant(int code, int levels)
 /*
  * Initialize tables at runtime.
  */
-static void ac3_tables_init(void)
+static av_cold void ac3_tables_init(void)
 {
     int i;
 
@@ -182,7 +182,7 @@ static void ac3_tables_init(void)
 /**
  * AVCodec initialization
  */
-static int ac3_decode_init(AVCodecContext *avctx)
+static av_cold int ac3_decode_init(AVCodecContext *avctx)
 {
     AC3DecodeContext *s = avctx->priv_data;
     s->avctx = avctx;
@@ -1292,7 +1292,7 @@ static int ac3_decode_frame(AVCodecConte
 /**
  * Uninitialize the AC-3 decoder.
  */
-static int ac3_decode_end(AVCodecContext *avctx)
+static av_cold int ac3_decode_end(AVCodecContext *avctx)
 {
     AC3DecodeContext *s = avctx->priv_data;
     ff_mdct_end(&s->imdct_512);



More information about the FFmpeg-soc mailing list