[Ffmpeg-devel] how about using posix_memalign?
D Richard Felker III
Mon Apr 11 15:17:36 CEST 2005
On Mon, Apr 11, 2005 at 01:59:58PM +0200, Fran?ois Revol wrote:
> > Hi,
> > > Free() on memalign'ed memory gives problems at least on Linux, see
> > > the
> > > GNOME bugzilla report in my original email.
> > That was with valgrind only, AFAICS. free() on memalign()ed memory
> > works just fine on Linux, at least since 1995 and probably even
> > before.
> > > Replacing memalign() with
> > > posix_memalign() fixes it there.
> > Also, I know of no system _except_ Linux where posix_memalign() is
> > actually available.
> Maybe because no system _except_ Linux has a broken memalign() ?
This is a lie. If you're going to keep saying it, tell us what broken
deprecated libc4/aout system or whatever you're still using... Because
NO ONE ELSE has ever had problems with memalign on linux.
More information about the ffmpeg-devel