summaryrefslogtreecommitdiff
path: root/libpostproc
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 /libpostproc
parent3a033bc5cfaeec391a8258005e025ddf3971d8bc (diff)
parentea7ee4b4e381e0fa731458de0cbf740430eeb013 (diff)
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 'libpostproc')
-rw-r--r--libpostproc/postprocess.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 1dc719cf93..6aa4ace337 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -89,6 +89,7 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#include "postprocess.h"
#include "postprocess_internal.h"
#include "libavutil/avstring.h"
+#include "libavutil/ppc/util_altivec.h"
#include "libavutil/ffversion.h"
const char postproc_ffversion[] = "FFmpeg version " FFMPEG_VERSION;
@@ -110,10 +111,6 @@ const char *postproc_license(void)
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
}
-#if HAVE_ALTIVEC_H
-#include <altivec.h>
-#endif
-
#define GET_MODE_BUFFER_SIZE 500
#define OPTIONS_ARRAY_SIZE 10
#define BLOCK_SIZE 8