aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msmpeg4enc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 10:31:59 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:09:45 +0200
commit6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch)
treec1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/msmpeg4enc.c
parent72e228b274a98af1aba9588415d0cd87fde44663 (diff)
downloadffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/msmpeg4enc.c')
-rw-r--r--libavcodec/msmpeg4enc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4enc.c b/libavcodec/msmpeg4enc.c
index 936c7a53dd..45ef208935 100644
--- a/libavcodec/msmpeg4enc.c
+++ b/libavcodec/msmpeg4enc.c
@@ -30,6 +30,7 @@
#include <stdint.h>
#include <string.h>
+#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/mem.h"
#include "mpegvideo.h"
@@ -45,7 +46,7 @@
static uint8_t rl_length[NB_RL_TABLES][MAX_LEVEL+1][MAX_RUN+1][2];
/* build the table which associate a (x,y) motion vector to a vlc */
-static void init_mv_table(MVTable *tab)
+static av_cold void init_mv_table(MVTable *tab)
{
int i, x, y;