[FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-12 Thread Marc Giger
Hi, Attached is a preliminary patch that enables runtime loading of external libraries via dlopen and friends. Dynamic loading is a build time option (--enable-dynamic-loading) and if it is not activated the libs are linked as usual (still no dependency to dlopen required). The patch is intended

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-13 Thread Marc Giger
Hi Michael, On Mon, 12 Jan 2015 22:57:35 +0100 Michael Niedermayer wrote: > On Mon, Jan 12, 2015 at 06:59:33PM +0100, Marc Giger wrote: > > Hi, > > > > Attached is a preliminary patch that enables runtime loading of > > external libraries via dlopen and friends. Dyn

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-13 Thread Marc Giger
Hi Stephen, On Tue, 13 Jan 2015 08:26:10 -0500 Stephen Hutchinson wrote: > On general principle, the idea would be nice. I'll leave broader > critiques on the code to others, but I do have one thing to say: > > >diff --git a/libavcodec/utils.c b/libavcodec/utils.c > >index 1ec5cae..2520e69 100

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-13 Thread Marc Giger
Hi, On Tue, 13 Jan 2015 14:54:33 +0100 wm4 wrote: > On Mon, 12 Jan 2015 18:59:33 +0100 > Marc Giger wrote: > > > Hi, > > > > Attached is a preliminary patch that enables runtime loading of > > external libraries via dlopen and friends. Dynamic loading is

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-14 Thread Marc Giger
Hi, On Wed, 14 Jan 2015 10:49:23 +0100 wm4 wrote: > On Tue, 13 Jan 2015 19:45:01 +0100 > Marc Giger wrote: > > > Hi, > > > > On Tue, 13 Jan 2015 14:54:33 +0100 > > wm4 wrote: > > > > > On Mon, 12 Jan 2015 18:59:33 +0100 > > > Marc G

Re: [FFmpeg-devel] [RFC] Support dynamic loading of third-party libs

2015-01-15 Thread Marc Giger
Hi Nicolas, On Wed, 14 Jan 2015 21:33:25 +0100 Nicolas George wrote: > Le quintidi 25 nivôse, an CCXXIII, Marc Giger a écrit : > >For example if they want use libfaac then > > they should be able to do so without that much hassle a full > > comp