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/h264chroma.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/h264chroma.c')
-rw-r--r-- | libavcodec/h264chroma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h264chroma.c b/libavcodec/h264chroma.c index 6194c4d1bd..8aa5e93e0d 100644 --- a/libavcodec/h264chroma.c +++ b/libavcodec/h264chroma.c @@ -17,6 +17,7 @@ */ #include "config.h" +#include "libavutil/attributes.h" #include "h264chroma.h" #define BIT_DEPTH 8 @@ -35,7 +36,7 @@ c->avg_h264_chroma_pixels_tab[1] = avg_h264_chroma_mc4_ ## depth ## _c; \ c->avg_h264_chroma_pixels_tab[2] = avg_h264_chroma_mc2_ ## depth ## _c; \ -void ff_h264chroma_init(H264ChromaContext *c, int bit_depth) +av_cold void ff_h264chroma_init(H264ChromaContext *c, int bit_depth) { if (bit_depth > 8 && bit_depth <= 16) { SET_CHROMA(16); |