diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-20 10:52:54 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-29 10:23:53 +0200 |
commit | 4e0799a4d04404abfa8fbc072640be76465158cf (patch) | |
tree | 65fcb6089c03d1c09b193bb371db01550c00fc23 /libswscale/ppc | |
parent | 3aa682f25324d811ec284edc808eb71a46eae950 (diff) | |
download | ffmpeg-4e0799a4d04404abfa8fbc072640be76465158cf.tar.gz |
swscale: Add some missing av_cold to arch-specific init functions
Diffstat (limited to 'libswscale/ppc')
-rw-r--r-- | libswscale/ppc/yuv2yuv_altivec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c index 659840b939..1d332ae724 100644 --- a/libswscale/ppc/yuv2yuv_altivec.c +++ b/libswscale/ppc/yuv2yuv_altivec.c @@ -24,9 +24,10 @@ #include <inttypes.h> #include "config.h" +#include "libavutil/attributes.h" +#include "libavutil/cpu.h" #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" -#include "libavutil/cpu.h" #if HAVE_ALTIVEC @@ -183,7 +184,7 @@ static int yv12touyvy_unscaled_altivec(SwsContext *c, const uint8_t *src[], #endif /* HAVE_ALTIVEC */ -void ff_get_unscaled_swscale_ppc(SwsContext *c) +av_cold void ff_get_unscaled_swscale_ppc(SwsContext *c) { #if HAVE_ALTIVEC if ((av_get_cpu_flags() & AV_CPU_FLAG_ALTIVEC) && !(c->srcW & 15) && |