[FFmpeg-devel] [PATCH] define _DARWIN_C_SOURCE for MAP_ANON
Wed Jul 21 08:52:10 CEST 2010
On Jul 20, 2010, at 4:56 PM, Ramiro Polla wrote:
> swscale-test crashes on macosx/64-bit because MAP_ANON is under
> (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE), which makes swscale use plain
> old malloc() to allocate memory for the mmx2 scaler, which ends up
> crashing (it doesn't crash on 32-bit though).
That's probably 32-bit darwin has an executable heap.
More information about the ffmpeg-devel