[MPlayer-dev-eng] [PATCH] Maybe fix gcc4 for problems on amd64 without breaking other arches
İsmail Dönmez
ismail at kde.org.tr
Thu Jul 7 16:10:10 CEST 2005
Guillaume POIRIER wrote:
> Hi,
[...]
> May this [untested] attached patch work at all?
>
> Guillaume
>
>
> ------------------------------------------------------------------------
>
> Index: postproc/swscale_template.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
> retrieving revision 1.119
> diff -u -r1.119 swscale_template.c
> --- postproc/swscale_template.c 30 Jun 2005 05:35:26 -0000 1.119
> +++ postproc/swscale_template.c 7 Jul 2005 13:55:24 -0000
> @@ -2547,7 +2547,11 @@
> "cmp %2, %%"REG_a" \n\t"
> " jb 1b \n\t"
>
> +#ifdef ARCH_X86_64
> :: "m" (src1), "m" (dst), "m" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
this should be ifndef :)
Regards,
ismail
More information about the MPlayer-dev-eng
mailing list