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

Michael Niedermayer michaelni at gmx.at
Wed Aug 2 23:41:05 CEST 2006


Hi

On Wed, Aug 02, 2006 at 08:04:40PM +0200, Emanuele Giaquinta wrote:
> On 8/2/06, Rich Felker <dalias at aerifal.cx> wrote:
> >On Wed, Aug 02, 2006 at 11:48:00AM +0200, Emanuele Giaquinta wrote:
> >> So it would be better to have MEMALIGN_HACK configurable, making it
> >> depend on the presence of memalign is not very right.
> >
> >No, it is correct. malloc is not sufficient unless the platform has a
> >C type with alignment requirements of 16 or more.
> 
> Ok I understand.
> My patch still stands then, darwin malloc guarantees alignment for
> altivec types and av_malloc hack aligns on 16 too.

x86 has no altivec, so what does this mean for macintel? aligment or not
...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is



More information about the MPlayer-dev-eng mailing list