[Ffmpeg-devel] [PATCH] Configure fails on Intel OS X
Diego Biurrun
diego
Mon Jul 24 11:48:57 CEST 2006
On Mon, Jul 24, 2006 at 10:12:46AM +1000, Nigel Pearson wrote:
>
> Purpose: Fix incorrect configure script exit on Intel OS X
> Applies: SVN r5816
> Testing: Patch has been in place in MythTV for 4 months
> http://cvs.mythtv.org/trac/changeset/9452
> Authors: Mino Taoyama, Nigel Pearson
>
>
> Discussion: OS X has no memalign(). The malloc() man page says:
> DESCRIPTION
> The malloc(), calloc(), valloc(), and realloc() functions allocate mem-
> ory. The allocated memory is aligned such that it can be used for any
> data type, including AltiVec-related types.
>
> The patch simply skips the MMX/SSE and memalign() check
> when running on OS X/Darwin. An alternative would be to
> set memalignhack on this OS, but I think that generates
> some extra, un-needed, code.
Thanks, applied.
Diego
More information about the ffmpeg-devel
mailing list