Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-21 06:11:20 +0300
committerZuxy Meng <zuxy.meng@gmail.com>2008-03-21 06:11:20 +0300
commit98a6fff98c3f2e963783e52fb193529bdc14e040 (patch)
treed950fcf03110d5716c0d348f0ffbbc5f459b71aa /libavcodec/indeo3.c
parent77ab59eb7ff28d8183ea51c5a46aab3b430edd9c (diff)
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/indeo3.c')
-rw-r--r--libavcodec/indeo3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
index 78dc6f9890..bd3287f9a5 100644
--- a/libavcodec/indeo3.c
+++ b/libavcodec/indeo3.c
@@ -62,7 +62,7 @@ static const int corrector_type_0[24] = {
static const int corrector_type_2[8] = { 9, 7, 6, 8, 5, 4, 3, 2 };
-static void build_modpred(Indeo3DecodeContext *s)
+static av_cold void build_modpred(Indeo3DecodeContext *s)
{
int i, j;
@@ -97,7 +97,7 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s, unsigned char *cur,
const unsigned char *buf2, int min_width_160);
/* ---------------------------------------------------------------------- */
-static void iv_alloc_frames(Indeo3DecodeContext *s)
+static av_cold void iv_alloc_frames(Indeo3DecodeContext *s)
{
int luma_width, luma_height, luma_pixels, chroma_width, chroma_height,
chroma_pixels, i;
@@ -155,7 +155,7 @@ static void iv_alloc_frames(Indeo3DecodeContext *s)
}
/* ---------------------------------------------------------------------- */
-static void iv_free_func(Indeo3DecodeContext *s)
+static av_cold void iv_free_func(Indeo3DecodeContext *s)
{
int i;
@@ -1048,7 +1048,7 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s,
}
}
-static int indeo3_decode_init(AVCodecContext *avctx)
+static av_cold int indeo3_decode_init(AVCodecContext *avctx)
{
Indeo3DecodeContext *s = avctx->priv_data;
@@ -1115,7 +1115,7 @@ static int indeo3_decode_frame(AVCodecContext *avctx,
return buf_size;
}
-static int indeo3_decode_end(AVCodecContext *avctx)
+static av_cold int indeo3_decode_end(AVCodecContext *avctx)
{
Indeo3DecodeContext *s = avctx->priv_data;