diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:11:20 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:11:20 +0000 |
commit | 98a6fff98c3f2e963783e52fb193529bdc14e040 (patch) | |
tree | d950fcf03110d5716c0d348f0ffbbc5f459b71aa /libavcodec/ac3dec.c | |
parent | 77ab59eb7ff28d8183ea51c5a46aab3b430edd9c (diff) | |
download | ffmpeg-98a6fff98c3f2e963783e52fb193529bdc14e040.tar.gz |
Apply 'cold' attribute to init/uninit functions in libavcodec
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 72bd109f70..75208de33d 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -207,7 +207,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; @@ -260,7 +260,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; @@ -1209,7 +1209,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, /** * 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); |