diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-22 12:29:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-07-23 01:30:05 +0200 |
commit | 5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a (patch) | |
tree | fde246d184c517279b9ef3287ae47329701b3780 /libswscale/rgb2rgb.c | |
parent | 16d2a1a51c1dbdd69ee47b19c8ab66b905b7c5ce (diff) | |
download | ffmpeg-5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a.tar.gz |
swscale: Mark all init functions as av_cold
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r-- | libswscale/rgb2rgb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c index 14b595f107..26ef64879c 100644 --- a/libswscale/rgb2rgb.c +++ b/libswscale/rgb2rgb.c @@ -25,6 +25,7 @@ #include <inttypes.h> +#include "libavutil/attributes.h" #include "libavutil/bswap.h" #include "config.h" #include "rgb2rgb.h" @@ -125,7 +126,7 @@ void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, * 32-bit C version, and and&add trick by Michael Niedermayer */ -void sws_rgb2rgb_init(void) +av_cold void sws_rgb2rgb_init(void) { rgb2rgb_init_c(); if (HAVE_MMX) |