diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2004-07-17 08:56:47 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2004-07-17 08:56:47 +0000 |
commit | f2015f0c50267cbf3dd023b217eae2d1a0938571 (patch) | |
tree | 58115e65ada77b08a48785b76eaeb44138321205 /postproc | |
parent | 95d45b1e640ea9e99524b4a5dfda72a5f1cf3173 (diff) | |
download | ffmpeg-f2015f0c50267cbf3dd023b217eae2d1a0938571.tar.gz |
fix altivec.h inclusion (vector keyword in structure)
Originally committed as revision 12839 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/swscale.c | 3 | ||||
-rw-r--r-- | postproc/swscale_internal.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c index 891352121c..dbe7203383 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -61,9 +61,6 @@ untested special converters #else #include <stdlib.h> #endif -#ifdef HAVE_ALTIVEC_H -#include <altivec.h> -#endif #include "swscale.h" #include "swscale_internal.h" #include "../cpudetect.h" diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h index c6d5a2f974..c7761ee1a4 100644 --- a/postproc/swscale_internal.h +++ b/postproc/swscale_internal.h @@ -19,6 +19,10 @@ #ifndef SWSCALE_INTERNAL_H #define SWSCALE_INTERNAL_H +#ifdef HAVE_ALTIVEC_H +#include <altivec.h> +#endif + #include "../mp_msg.h" #define MSG_WARN(args...) mp_msg(MSGT_SWS,MSGL_WARN, ##args ) |