aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorDaniel Verkamp <daniel@drv.nu>2009-02-22 13:48:55 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-22 13:48:55 +0000
commit5ef251e50437ce84a00735c5cac8dd836fb032e9 (patch)
treee752d1fdee8e36709b00b5af5005599ccd071375 /libavcodec/msmpeg4.c
parent50ded3fdb65aa6298253a1522c0981c3e113d022 (diff)
downloadffmpeg-5ef251e50437ce84a00735c5cac8dd836fb032e9.tar.gz
Add missing av_cold in static init/close functions.
Patch by Daniel Verkamp daniel at drv dot nu. Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 87866a26d4..3a710aa054 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -85,7 +85,7 @@ static uint8_t rl_length[NB_RL_TABLES][MAX_LEVEL+1][MAX_RUN+1][2];
static uint8_t static_rl_table_store[NB_RL_TABLES][2][2*MAX_RUN + MAX_LEVEL + 3];
-static void common_init(MpegEncContext * s)
+static av_cold void common_init(MpegEncContext * s)
{
static int initialized=0;
@@ -163,7 +163,7 @@ void ff_msmpeg4_code012(PutBitContext *pb, int n)
}
}
-void ff_msmpeg4_encode_init(MpegEncContext *s)
+av_cold void ff_msmpeg4_encode_init(MpegEncContext *s)
{
static int init_done=0;
int i;
@@ -995,7 +995,7 @@ VLC ff_inter_intra_vlc;
/* This table is practically identical to the one from h263
* except that it is inverted. */
-static void init_h263_dc_for_msmpeg4(void)
+static av_cold void init_h263_dc_for_msmpeg4(void)
{
int level, uni_code, uni_len;
@@ -1050,7 +1050,7 @@ static void init_h263_dc_for_msmpeg4(void)
}
/* init all vlc decoding tables */
-int ff_msmpeg4_decode_init(MpegEncContext *s)
+av_cold int ff_msmpeg4_decode_init(MpegEncContext *s)
{
static int done = 0;
int i;