[MPlayer-dev-eng] [PATCH] do not define MEMALIGN_HACK on mac os x

Emanuele Giaquinta emanuele.giaquinta at gmail.com
Sat Jul 15 18:34:07 CEST 2006


On 7/15/06, Diego Biurrun <diego at biurrun.de> wrote:

> On Sat, Jul 15, 2006 at 06:15:59PM +0200, Emanuele Giaquinta wrote:
> >
> > patch for $subj.
> > apple malloc aligns memory on 16-byte boundary, so the MEMALIGN_HACK
> > code in av_malloc is not needed.
>
> I don't think this is the correct solution.  Why is the check failing if
> the memory gets aligned properly?

Because the test checks for memalign, and apple libc has no memalign.

-- 
Emanuele Giaquinta



More information about the MPlayer-dev-eng mailing list