[FFmpeg-devel] [PATCH] define _DARWIN_C_SOURCE for MAP_ANON
Ramiro Polla
ramiro.polla
Wed Jul 21 01:56:14 CEST 2010
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).
Attached patch adds the define for darwin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: map_anon.diff
Type: application/octet-stream
Size: 357 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100720/2cce4607/attachment.obj>
More information about the ffmpeg-devel
mailing list