Mercurial > libavcodec.hg
diff liba52.c @ 6517:48759bfbd073 libavcodec
Apply 'cold' attribute to init/uninit functions in libavcodec
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 03:11:20 +0000 |
parents | a14abb3d08aa |
children | 5b3acf9fd50a |
line wrap: on
line diff
--- a/liba52.c Thu Mar 20 19:36:20 2008 +0000 +++ b/liba52.c Fri Mar 21 03:11:20 2008 +0000 @@ -77,7 +77,7 @@ } #endif -static int a52_decode_init(AVCodecContext *avctx) +static av_cold int a52_decode_init(AVCodecContext *avctx) { AC3DecodeState *s = avctx->priv_data; @@ -203,7 +203,7 @@ return len; } -static int a52_decode_end(AVCodecContext *avctx) +static av_cold int a52_decode_end(AVCodecContext *avctx) { AC3DecodeState *s = avctx->priv_data; s->a52_free(s->state);