aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-12-12 16:00:04 +0100
committerDiego Biurrun <diego@biurrun.de>2016-12-14 14:08:43 +0100
commitea7ee4b4e381e0fa731458de0cbf740430eeb013 (patch)
tree5955919c869ef9eabd1951dbfad1b610d8d07213 /libswscale
parent39929e55eb13eeb8dfbe1bc99301fecf6b8942dd (diff)
downloadffmpeg-ea7ee4b4e381e0fa731458de0cbf740430eeb013.tar.gz
ppc: Centralize compiler-specific altivec.h #include handling in one place
Also move #includes into canonical order where appropriate.
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index e7a6eedd22..adfe1708e1 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -23,16 +23,13 @@
#include "config.h"
-#if HAVE_ALTIVEC_H
-#include <altivec.h>
-#endif
-
#include "libavutil/avassert.h"
#include "libavutil/avutil.h"
#include "libavutil/common.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#include "libavutil/pixdesc.h"
+#include "libavutil/ppc/util_altivec.h"
#define STR(s) AV_TOSTRING(s) // AV_STRINGIFY is too long