[MPlayer-dev-eng] [PATCH] better detction for sparc cpu's and compile fix for libmpeg2

jb13 at gomerbud.com jb13 at gomerbud.com
Mon Aug 16 11:18:24 CEST 2004


On Sat, Aug 14, 2004 at 06:19:36PM +0200, Diego Biurrun wrote:
> jb13 at gomerbud.com writes:
> > --- libmpeg2/motion_comp.c	2 Aug 2004 11:20:38 -0000	1.7
> > +++ libmpeg2/motion_comp.c	5 Aug 2004 01:55:51 -0000
> > @@ -55,10 +55,12 @@
> >      else
> >  #endif
> >  #ifdef ARCH_SPARC
> > +#ifdef HAVE_VIS
> 
> I think
> 
> #if defined(ARCH_SPARC) && defined(HAVE_VIS)
> 
> would be better, but we already have the other style in that file.

maybe you'll like this better?

> Applied.

thanks
-------------- next part --------------
Index: libmpeg2/motion_comp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/motion_comp.c,v
retrieving revision 1.8
diff -u -r1.8 motion_comp.c
--- libmpeg2/motion_comp.c	14 Aug 2004 15:17:39 -0000	1.8
+++ libmpeg2/motion_comp.c	16 Aug 2004 09:24:29 -0000
@@ -54,13 +54,11 @@
 	mpeg2_mc = mpeg2_mc_alpha;
     else
 #endif
-#ifdef ARCH_SPARC
-#ifdef HAVE_VIS
+#ifdef HAVE_VIS /* For UltraSparc */
     if (accel & MPEG2_ACCEL_SPARC_VIS)
 	mpeg2_mc = mpeg2_mc_vis;
     else
 #endif
-#endif
 	mpeg2_mc = mpeg2_mc_c;
 }
 


More information about the MPlayer-dev-eng mailing list