[FFmpeg-devel] [PATCH] use stdlib.h on FreeBSD

Michael Niedermayer michaelni at gmx.at
Mon Mar 17 20:29:11 CET 2014


On Mon, Mar 17, 2014 at 01:33:08PM +0100, René Ladan wrote:
> Hi,
> 
> attached is a patch for FreeBSD, which has malloc.h but that one only
> says #error "use stdlib.h instead"

the code works fine on my (old) freebsd

also why is HAVE_MALLOC_H set if the header fails at preprocessor
stage ?

configure shouldnt set it if it cant be used
see config.log and check_header() in configure

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140317/425b0d27/attachment.asc>


More information about the ffmpeg-devel mailing list