diff options
author | Romain Dolbeau <dolbeau@irisa.fr> | 2003-01-26 22:29:47 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-26 22:29:47 +0000 |
commit | 3b991c54ebf9eb6dc17939576fef9662cae1c16c (patch) | |
tree | 472bbe327c6539bccf39d791ab4e9945b94e4b53 /libavcodec/dsputil.h | |
parent | a48835b9fe2d5606a8f0ab56b905047b2a17e42c (diff) | |
download | ffmpeg-3b991c54ebf9eb6dc17939576fef9662cae1c16c.tar.gz |
Altivec on non darwin systems patch by Romain Dolbeau
Originally committed as revision 1509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index d885c4aca1..b442501a3b 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -224,6 +224,10 @@ void dsputil_init_alpha(DSPContext* c, unsigned mask); extern int mm_flags; +#if defined(HAVE_ALTIVEC) && !defined(CONFIG_DARWIN) +#include <altivec.h> +#endif + #define __align8 __attribute__ ((aligned (16))) void dsputil_init_ppc(DSPContext* c, unsigned mask); |