[x264-devel] [Patch] for gpac-0.5.0 support

Sérgio Basto sergio at serjux.com
Mon Feb 24 04:31:33 CET 2014


Hi, 
to ./configure correctly detect gpac 0.5.0, we need add -lssl -lcrypto
-lpng -ljpeg on check configure to compile conftest.c .

conftest.c is 
#include <gpac/isomedia.h>
int main () { gf_isom_set_pixel_aspect_ratio(0,0,0,0,0); return 0; }

test compiling is: 
gcc conftest.c -m64  -Wall -I. -I$(SRCPATH) -std=gnu99
-mpreferred-stack-boundary=5  -I/usr/include/ffmpeg
-I/usr/include/ffmpeg  -lgpac_static -lz  -L.  -lavformat -lavcodec
-lavutil -lswscale   -lswscale -lavutil   -m64  -lm -lpthread -o
conftest


compiling this on F20 we get a sort of undefined reference like:
(.text+0x877): undefined reference to `SSL_shutdown'

We got undefined references for -lssl -lcrypto -lpng -ljpeg .

So consider apply the patch attached. My contribution is made on GPLv2+
license or what you desire.  

Thanks,
-- 
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264-gpac.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20140224/0a749b3f/attachment.bin>


More information about the x264-devel mailing list