[Ffmpeg-devel] how about using posix_memalign?

François Revol revol
Mon Apr 11 13:59:58 CEST 2005


> 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() ?

:D

Fran?ois.





More information about the ffmpeg-devel mailing list