[Ffmpeg-devel] how about using posix_memalign?

Wolfram Gloger wmglo
Mon Apr 11 13:55:21 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.

Regards,
Wolfram.





More information about the ffmpeg-devel mailing list