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

Diego Biurrun diego at biurrun.de
Sat Jul 29 22:54:50 CEST 2006


On Sat, Jul 15, 2006 at 01:52:07PM -0400, Rich Felker wrote:
> 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.

No, it doesn't.  Should it?

Diego



More information about the MPlayer-dev-eng mailing list