[x264-devel] upstreamable patch x264-gf_malloc.patch
Sérgio Basto
sergio at serjux.com
Mon Jul 2 19:03:36 CEST 2012
Hi,
compile code :
--------------------------------------------------
#include <gpac/isomedia.h>
int main () { gf_malloc(1); gf_free(NULL); return 0; }
with extra ccflags -Wp,-D_FORTIFY_SOURCE=2, fails to detect gf_malloc ,
because gives an warning as described :
conftest.c: In function 'main':
conftest.c:2:24: error: ignoring return value of 'malloc', declared with
attrib
cc1: all warnings being treated as errors
So patch in attach fixes this detection, please apply it.
Thanks,
--
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264-gf_malloc.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20120702/c272e3c6/attachment.bin>
More information about the x264-devel
mailing list