summaryrefslogtreecommitdiffstats
path: root/libswscale/ppc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-29 15:48:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-29 15:48:53 +0200
commitc49b6c3d999c65cbd336a1984306d0c66aa9d2d1 (patch)
treeb6339a385be3ddaaa301288abe311e4c093e9042 /libswscale/ppc
parentc5cec9a42bec60894d63467cb0fd4976128d49af (diff)
parent4e0799a4d04404abfa8fbc072640be76465158cf (diff)
downloadffmpeg-streaming-c49b6c3d999c65cbd336a1984306d0c66aa9d2d1.zip
ffmpeg-streaming-c49b6c3d999c65cbd336a1984306d0c66aa9d2d1.tar.gz
Merge commit '4e0799a4d04404abfa8fbc072640be76465158cf'
* commit '4e0799a4d04404abfa8fbc072640be76465158cf': swscale: Add some missing av_cold to arch-specific init functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/ppc')
-rw-r--r--libswscale/ppc/yuv2yuv_altivec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libswscale/ppc/yuv2yuv_altivec.c b/libswscale/ppc/yuv2yuv_altivec.c
index 7ab9386..0ef172d 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) &&
OpenPOWER on IntegriCloud