Mercurial > libavcodec.hg
diff ffv1.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 | 5d82b4e8a7f3 |
children | f282270c589f |
line wrap: on
line diff
--- a/ffv1.c Thu Mar 20 19:36:20 2008 +0000 +++ b/ffv1.c Fri Mar 21 03:11:20 2008 +0000 @@ -530,7 +530,7 @@ } #endif /* CONFIG_ENCODERS */ -static int common_init(AVCodecContext *avctx){ +static av_cold int common_init(AVCodecContext *avctx){ FFV1Context *s = avctx->priv_data; int width, height; @@ -548,7 +548,7 @@ } #ifdef CONFIG_ENCODERS -static int encode_init(AVCodecContext *avctx) +static av_cold int encode_init(AVCodecContext *avctx) { FFV1Context *s = avctx->priv_data; int i; @@ -694,7 +694,7 @@ } #endif /* CONFIG_ENCODERS */ -static int common_end(AVCodecContext *avctx){ +static av_cold int common_end(AVCodecContext *avctx){ FFV1Context *s = avctx->priv_data; int i; @@ -927,7 +927,7 @@ return 0; } -static int decode_init(AVCodecContext *avctx) +static av_cold int decode_init(AVCodecContext *avctx) { // FFV1Context *s = avctx->priv_data;