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/idcinvideo.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/idcinvideo.c')
-rw-r--r-- | libavcodec/idcinvideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index a65648df0a..1b0f9d569c 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -113,7 +113,7 @@ static int huff_smallest_node(hnode_t *hnodes, int num_hnodes) { * num_huff_nodes[prev] - contains the index to the root node of the tree. * That is: huff_nodes[prev][num_huff_nodes[prev]] is the root node. */ -static void huff_build_tree(IdcinContext *s, int prev) { +static av_cold void huff_build_tree(IdcinContext *s, int prev) { hnode_t *node, *hnodes; int num_hnodes, i; @@ -143,7 +143,7 @@ static void huff_build_tree(IdcinContext *s, int prev) { s->num_huff_nodes[prev] = num_hnodes - 1; } -static int idcin_decode_init(AVCodecContext *avctx) +static av_cold int idcin_decode_init(AVCodecContext *avctx) { IdcinContext *s = avctx->priv_data; int i, j, histogram_index = 0; @@ -242,7 +242,7 @@ static int idcin_decode_frame(AVCodecContext *avctx, return buf_size; } -static int idcin_decode_end(AVCodecContext *avctx) +static av_cold int idcin_decode_end(AVCodecContext *avctx) { IdcinContext *s = avctx->priv_data; |