[Ffmpeg-devel] patch to configure script to use plain malloc on FreeBSD as well as Darwin

Dennis Melentyev dennis.melentyev
Wed Aug 16 14:42:40 CEST 2006


2006/8/16, Diego Biurrun <diego at biurrun.de>:
> On Wed, Aug 16, 2006 at 10:50:43AM +0200, Herv? W. wrote:
> > On 16/08/06, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
> > >Diego Biurrun wrote:
> > [...]
> > >> FreeBSD doesn't have memalign?
> >
> > >From what I could find out without actually installing FreeBSD, the
> > question was raised to add it and as a result FreeBSD 7.0-CURRENT (as
> > opposed to STABLE) now has posix_memalign.
Yes, but only posix_memalign(), AFAIR, not memalign().

> > [...]
> > >Seems the FreeBSD malloc is aligned on 16-bytes, so they dont *need*
> > >memalign, and ffmpeg wont need memalign-hack either.
>
> OK, the patch seems safe then, applied.
Thanks a lot!

-- 
Dennis Melentyev



More information about the ffmpeg-devel mailing list