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

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Jan 16 14:40:01 CET 2015

On 1/16/2015 12:47 AM, Stephen Hutchinson wrote:
> There have been times I've run into issues
> because a shared library FFmpeg was linked against somehow
> got removed or was updated and broke compatibility.


> Dynamic loading allows the main binary to still function
> correctly if this occurs, with the issue only arising if the user
> attempts to use the missing library, in which case the
> methodology of doing dynamic loading allows for a graceful
> exit rather than the program crashing.

This is definitely wrong. An ABI break would still have
the *exact* same issues as before, when the wrong library
is loaded. In fact, it's worse, since it potentially ignores
the soname.

- Derek

More information about the ffmpeg-devel mailing list