From c25e199eef53ebb21b52e777005c680577883891 Mon Sep 17 00:00:00 2001 From: Siggi Langauf Date: Mon, 27 Sep 2004 23:28:59 +0000 Subject: make it compile on sparc32 (without VIS) again... CVS patchset: 7003 CVS date: 2004/09/27 23:28:59 --- src/libffmpeg/libavcodec/sparc/dsputil_vis.c | 4 ++-- src/libmpeg2/motion_comp_vis.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libffmpeg/libavcodec/sparc/dsputil_vis.c b/src/libffmpeg/libavcodec/sparc/dsputil_vis.c index 434cf74ac..e5feff27f 100644 --- a/src/libffmpeg/libavcodec/sparc/dsputil_vis.c +++ b/src/libffmpeg/libavcodec/sparc/dsputil_vis.c @@ -26,7 +26,7 @@ #include "config.h" -#ifdef ARCH_SPARC +#if defined(ARCH_SPARC) && defined(ENABLE_VIS) #include #include @@ -4104,4 +4104,4 @@ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx) } } -#endif /* !(ARCH_SPARC) */ +#endif /* defined(ARCH_SPARC) && defined(ENABLE_VIS) */ diff --git a/src/libmpeg2/motion_comp_vis.c b/src/libmpeg2/motion_comp_vis.c index db7771154..d0a6673d6 100644 --- a/src/libmpeg2/motion_comp_vis.c +++ b/src/libmpeg2/motion_comp_vis.c @@ -22,7 +22,7 @@ #include "config.h" -#ifdef ARCH_SPARC +#if defined(ARCH_SPARC) && defined(ENABLE_VIS) #include @@ -2056,4 +2056,4 @@ static void MC_avg_xy_8_vis (uint8_t * dest, uint8_t * _ref, MPEG2_MC_EXTERN(vis); -#endif /* !(ARCH_SPARC) */ +#endif /* defined(ARCH_SPARC) && defined(ENABLE_VIS) */ -- cgit v1.2.3