[MPlayer-dev-eng] [PATCH] Maybe fix gcc4 for problems on amd64 without breaking other arches

Guillaume POIRIER poirierg at gmail.com
Thu Jul 7 16:19:17 CEST 2005


Hi,

On 7/7/05, İsmail Dönmez <ismail at kde.org.tr> wrote:
> 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 :)

This was an IQ test. You passed. Well done!

[hopefully] correct patch attached.

Guillaume
-- 
Hollywood is a place where they'll pay you a thousand dollars for a
kiss and fifty cents for your soul.
 -- Marilyn Monroe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postproc_gcc4_ifdef.diff
Type: text/x-diff
Size: 827 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050707/7e5d1c8f/attachment.diff>


More information about the MPlayer-dev-eng mailing list