[MPlayer-cvslog] r27561 - in trunk/libswscale: swscale.c swscale_template.c
Benjamin Zores
ben at geexbox.org
Sat Sep 13 18:14:01 CEST 2008
Uoti Urpala wrote:
> On Wed, 2008-09-10 at 01:30 +0200, michael wrote:
>> Author: michael
>> Date: Wed Sep 10 01:30:06 2008
>> New Revision: 27561
>
>
>> Modified: trunk/libswscale/swscale_template.c
>> ==============================================================================
>> --- trunk/libswscale/swscale_template.c (original)
>> +++ trunk/libswscale/swscale_template.c Wed Sep 10 01:30:06 2008
>> @@ -1875,78 +1875,121 @@ static inline void RENAME(bgr32ToUV)(uin
>> }
>> }
>>
>> -static inline void RENAME(bgr24ToY)(uint8_t *dst, uint8_t *src, long width)
>> -{
>> #ifdef HAVE_MMX
>> +static inline void bgr24ToY_mmx(uint8_t *dst, uint8_t *src, long width, int srcFormat)
>
> This causes a build failure with runtime cpudetection enabled because
> the new function has no RENAME and will be redefined when the template
> file is included again (first for plain MMX, then for MMX2 which has
> HAVE_MMX defined too).
Indeed, this was as simple as that.
Fix commited.
Ben
More information about the MPlayer-cvslog
mailing list