[Mplayer-cvslog] CVS: main/mp3lib dct64_MMX.c,1.1,1.2 decode_MMX.c,1.1,1.2 decode_i586.c,1.1,1.2 tabinit_MMX.c,1.2,1.3

Nick Kurshev nickols_k at mail.ru
Sat Jan 19 08:53:25 CET 2002


Hello, Atmosfear!

On Sat, 19 Jan 2002 05:47:34 +0100 you wrote:

> Update of /cvsroot/mplayer/main/mp3lib
> In directory mplayer:/var/tmp.root/cvs-serv27499/mp3lib
> 
> Modified Files:
> 	dct64_MMX.c decode_MMX.c decode_i586.c tabinit_MMX.c 
> Log Message:
> mangling in mp3lib + stdcall undefined fix with cygwin
> 
> Index: dct64_MMX.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/mp3lib/dct64_MMX.c,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- dct64_MMX.c	15 Jan 2002 09:01:39 -0000	1.1
> +++ dct64_MMX.c	19 Jan 2002 04:47:32 -0000	1.2
> @@ -3,9 +3,15 @@
>  * See ChangeLog of mpg123-0.59s-pre.1 for detail
>  * Applied to mplayer by Nick Kurshev <nickols_k at mail.ru>
>  */
> +#include "../mangle.h"
>  #define real float /* ugly - but only way */
>  
> +#ifdef __CYGWIN__
> +/* will probably cause sig11 with debuggingsymbols, but otherwise undef. ref */
> +void dct64_MMX(real *a,real *b,real *c)
> +#else
>  void __attribute__ (( __stdcall__ )) dct64_MMX(real *a,real *b,real *c)
> +#endif
>  {
What you've done?
Please unroll this patch!
For cygwin there are lots of ways to avoid this problem:
for example: WINAPI function modifier or any other.
Try study cygwin's headers first!
> 
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog
> 


Best regards! Nick



More information about the MPlayer-cvslog mailing list