Mercurial > libavcodec.hg
changeset 5703:ec04964a1d1a libavcodec
VIS-specific code should be enabled conditional to HAVE_VIS, not ARCH_SPARC.
author | diego |
---|---|
date | Sun, 23 Sep 2007 21:59:09 +0000 |
parents | 72c65bca55db |
children | cf77b8588f15 |
files | dsputil.c dsputil.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.c Sun Sep 23 21:11:36 2007 +0000 +++ b/dsputil.c Sun Sep 23 21:59:09 2007 +0000 @@ -4150,7 +4150,7 @@ if (ENABLE_MMX) dsputil_init_mmx (c, avctx); if (ENABLE_ARMV4L) dsputil_init_armv4l(c, avctx); if (ENABLE_MLIB) dsputil_init_mlib (c, avctx); - if (ENABLE_SPARC) dsputil_init_vis (c, avctx); + if (ENABLE_VIS) dsputil_init_vis (c, avctx); if (ENABLE_ALPHA) dsputil_init_alpha (c, avctx); if (ENABLE_POWERPC) dsputil_init_ppc (c, avctx); if (ENABLE_MMI) dsputil_init_mmi (c, avctx);
--- a/dsputil.h Sun Sep 23 21:11:36 2007 +0000 +++ b/dsputil.h Sun Sep 23 21:59:09 2007 +0000 @@ -538,7 +538,7 @@ #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) #define STRIDE_ALIGN 8 -#elif defined(ARCH_SPARC) +#elif defined(HAVE_VIS) /* SPARC/VIS IDCT needs 8-byte aligned DCT blocks */ #define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)