aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-04-26 16:21:00 +0200
committerClément Bœsch <u@pkh.me>2017-04-26 16:23:28 +0200
commit172b0e2e88832822632841e8e0d3794f974cbc93 (patch)
treec3c7cb81ddac88ab0563ffe52eb898f5e33afb9f /libswscale
parent3a033bc5cfaeec391a8258005e025ddf3971d8bc (diff)
parentea7ee4b4e381e0fa731458de0cbf740430eeb013 (diff)
downloadffmpeg-172b0e2e88832822632841e8e0d3794f974cbc93.tar.gz
Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013'
* commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013': ppc: Centralize compiler-specific altivec.h #include handling in one place Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale_internal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 84d5bee5ff..0f51df95d7 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -22,11 +22,6 @@
#define SWSCALE_SWSCALE_INTERNAL_H
#include "config.h"
-
-#if HAVE_ALTIVEC_H
-#include <altivec.h>
-#endif
-
#include "version.h"
#include "libavutil/avassert.h"
@@ -36,6 +31,7 @@
#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