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

Rich Felker dalias at aerifal.cx
Sat Jul 15 19:52:07 CEST 2006


On Sat, Jul 15, 2006 at 06:34:07PM +0200, Emanuele Giaquinta wrote:
> 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.

Does the test also check for posix_memalign? This is the standard
name.

Rich




More information about the MPlayer-dev-eng mailing list