[Mplayer-cvslog] CVS: main/loader win32.c,1.43,1.44

Arpi arpi at thot.banki.hu
Mon Dec 31 18:26:19 CET 2001


Hi,

the C version won't work for ACEL.P codec :(
we should fix the asm version..

> Update of /cvsroot/mplayer/main/loader
> In directory mplayer:/var/tmp.root/cvs-serv5462/loader
> 
> Modified Files:
> 	win32.c 
> Log Message:
> workaround for the guilty code that caused sig11 when compiled with gcc-3.0.x
> (using the old C version - before the Big Indent patch :)
> 
> 
> Index: win32.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/loader/win32.c,v
> retrieving revision 1.43
> retrieving revision 1.44
> diff -u -r1.43 -r1.44
> --- win32.c	23 Dec 2001 16:14:13 -0000	1.43
> +++ win32.c	31 Dec 2001 17:22:41 -0000	1.44
> @@ -3410,6 +3410,18 @@
>  // of debuging fixing & testing - it's almost unimaginable - kabi
>  
>  // _ftol - operated on the float value which is already on the FPU stack
> +
> +#ifdef MPLAYER
> +// Note: the asm version is buggy and causes mysterious sig11 with gcc-3.0
> +// flavors so we'd better stick to the old one for the moment (C version
> +// is found in release 1.39 of this file in MPlayer CVS) - pl
> +int
> +exp_ftol (float f)
> +{
> +  return (int) (f + .5);
> +}
> +#else
> +#warning "exp_ftol may cause sig11"
>  static void exp_ftol(void)
>  {
>      __asm__ __volatile__
> @@ -3426,6 +3438,7 @@
>  	 "mov	 -12(%ebp), %eax \n\t"
>  	);
>  }
> +#endif
>  
>  static double exppow(double x, double y)
>  {
> 
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> 
> 


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-cvslog mailing list