[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:20:29 CEST 2005


Guillaume POIRIER wrote:
> 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!
> 

LOL

> [hopefully] correct patch attached.

Looks fine

ismail




More information about the MPlayer-dev-eng mailing list