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/mpeg4videoenc.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/mpeg4videoenc.c')
-rw-r--r-- | libavcodec/mpeg4videoenc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index fb4d7a8743..fd39b3f8d7 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/log.h" #include "libavutil/opt.h" #include "mpegvideo.h" @@ -1083,7 +1084,7 @@ void ff_mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) } -static void init_uni_dc_tab(void) +static av_cold void init_uni_dc_tab(void) { int level, uni_code, uni_len; @@ -1135,7 +1136,9 @@ static void init_uni_dc_tab(void) } } -static void init_uni_mpeg4_rl_tab(RLTable *rl, uint32_t *bits_tab, uint8_t *len_tab){ +static av_cold void init_uni_mpeg4_rl_tab(RLTable *rl, uint32_t *bits_tab, + uint8_t *len_tab) +{ int slevel, run, last; assert(MAX_LEVEL >= 64); |