diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-30 17:35:18 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-31 10:33:02 +0200 |
commit | 03bf4572419739a6a308c2a667a62f4797fadf49 (patch) | |
tree | 17729e29c121b82f8133dc82365c4bb8f8609274 /libavcodec/dv_tablegen.h | |
parent | 4fe448738e8d4d87295e1fc7b68bb04f7453c3b9 (diff) | |
download | ffmpeg-03bf4572419739a6a308c2a667a62f4797fadf49.tar.gz |
Add av_cold to table generation functions.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/dv_tablegen.h')
-rw-r--r-- | libavcodec/dv_tablegen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dv_tablegen.h b/libavcodec/dv_tablegen.h index c04b802290..cc6605bcc1 100644 --- a/libavcodec/dv_tablegen.h +++ b/libavcodec/dv_tablegen.h @@ -24,6 +24,7 @@ #define AVCODEC_DV_TABLEGEN_H #include <stdint.h> +#include "libavutil/attributes.h" #include "dvdata.h" @@ -47,7 +48,7 @@ typedef struct dv_vlc_pair { #else static struct dv_vlc_pair dv_vlc_map[DV_VLC_MAP_RUN_SIZE][DV_VLC_MAP_LEV_SIZE]; -static void dv_vlc_map_tableinit(void) +static av_cold void dv_vlc_map_tableinit(void) { int i, j; for (i = 0; i < NB_DV_VLC - 1; i++) { |