From 2b677ffca54a5fbef9c8860841c32f28ecd68f70 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 18 Apr 2013 15:54:45 +0200 Subject: swscale: Add av_cold attributes to init functions missing them --- libswscale/x86/rgb2rgb_template.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libswscale/x86') diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c index 205b749244..5aeef8ca2c 100644 --- a/libswscale/x86/rgb2rgb_template.c +++ b/libswscale/x86/rgb2rgb_template.c @@ -26,6 +26,8 @@ #include +#include "libavutil/attributes.h" + #undef PREFETCH #undef MOVNTQ #undef EMMS @@ -2465,7 +2467,7 @@ static void RENAME(uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, co #endif /* !COMPILE_TEMPLATE_AMD3DNOW */ #endif /* !COMPILE_TEMPLATE_SSE2 */ -static inline void RENAME(rgb2rgb_init)(void) +static av_cold void RENAME(rgb2rgb_init)(void) { #if !COMPILE_TEMPLATE_SSE2 #if !COMPILE_TEMPLATE_AMD3DNOW -- cgit v1.2.3