OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc6340e
)
Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
author
Diego Biurrun
<diego@biurrun.de>
Sat, 9 Feb 2008 17:55:07 +0000
(17:55 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sat, 9 Feb 2008 17:55:07 +0000
(17:55 +0000)
Originally committed as revision 11886 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libxvidff.c
patch
|
blob
|
history
diff --git
a/libavcodec/libxvidff.c
b/libavcodec/libxvidff.c
index
d29177b
..
414471e
100644
(file)
--- a/
libavcodec/libxvidff.c
+++ b/
libavcodec/libxvidff.c
@@
-38,7
+38,7
@@
#define BUFFER_CAT(x) (&((x)[strlen(x)]))
/* For PPC Use */
-#if
HAVE_ALTIVEC==1
+#if
def HAVE_ALTIVEC
extern int has_altivec(void);
#endif
@@
-169,7
+169,7
@@
int ff_xvid_encode_init(AVCodecContext *avctx) {
#ifdef ARCH_POWERPC
/* XviD's PPC support is borked, use libavcodec to detect */
-#if
HAVE_ALTIVEC==1
+#if
def HAVE_ALTIVEC
if( has_altivec() ) {
xvid_gbl_init.cpu_flags = XVID_CPU_FORCE | XVID_CPU_ALTIVEC;
} else