[MPlayer-dev-eng] compiling mplayer with gcc 4.6, broken audio decoding

Ionut Biru ionut at archlinux.ro
Sat Apr 30 11:30:46 CEST 2011


On 04/30/2011 11:01 AM, Jindrich Makovicka wrote:

>
> Can you try this change? It's not a proper fix, but it makes
> gcc 4.6 emit complete nnnn table in the output.
>
> Index: dct64_sse.c
> ===================================================================
> --- dct64_sse.c	(revision 33341)
> +++ dct64_sse.c	(working copy)
> @@ -112,7 +112,6 @@
>       }
>
>       {
> -        real *costab = costab_mmx + 24;
>           int i;
>
>           __asm__(
> @@ -121,7 +120,7 @@
>               "movaps    %1, %%xmm5\n\t"
>               "movaps    %%xmm5, %%xmm6\n\t"
>               :
> -            :"m"(*costab), "m"(*nnnn)
> +            :"m"(costab_mmx[24]), "m"(*nnnn)
>              );
>
>           for (i = 0; i<  0x20; i += 8)
>
>
> Regards,


this patch fixes the problem. thanks


-- 
Ionuț


More information about the MPlayer-dev-eng mailing list