aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/idctdsp.c
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 /libavcodec/ppc/idctdsp.c
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 'libavcodec/ppc/idctdsp.c')
-rw-r--r--libavcodec/ppc/idctdsp.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/ppc/idctdsp.c b/libavcodec/ppc/idctdsp.c
index 0aaaac0131..dc22e15269 100644
--- a/libavcodec/ppc/idctdsp.c
+++ b/libavcodec/ppc/idctdsp.c
@@ -30,17 +30,16 @@
* IDCT function itself was to factor out the partial transposition, and to
* perform a full transpose at the end of the function. */
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
-#include "config.h"
-#if HAVE_ALTIVEC_H
-#include <altivec.h>
-#endif
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/ppc/cpu.h"
-#include "libavutil/ppc/types_altivec.h"
+#include "libavutil/ppc/util_altivec.h"
+
#include "libavcodec/idctdsp.h"
#if HAVE_ALTIVEC && HAVE_BIGENDIAN