diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-01 10:31:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:09:45 +0200 |
commit | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch) | |
tree | c1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/mpeg12.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index aa0b4d542f..8bc56973ed 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -26,6 +26,7 @@ */ //#define DEBUG +#include "libavutil/attributes.h" #include "internal.h" #include "avcodec.h" #include "dsputil.h" @@ -55,7 +56,7 @@ uint8_t ff_mpeg12_static_rl_table_store[2][2][2*MAX_RUN + MAX_LEVEL + 3]; init_2d_vlc_rl(&rl);\ } -static void init_2d_vlc_rl(RLTable *rl) +static av_cold void init_2d_vlc_rl(RLTable *rl) { int i; @@ -88,7 +89,7 @@ static void init_2d_vlc_rl(RLTable *rl) } } -void ff_mpeg12_common_init(MpegEncContext *s) +av_cold void ff_mpeg12_common_init(MpegEncContext *s) { s->y_dc_scale_table = |