[Wine] RFC: New dependency on FFmpeg?
martin at gregorie.org
Sat Aug 22 18:45:08 CDT 2015
On Fri, 2015-08-21 at 10:39 +0200, georg at bege.email wrote:
> I'd be curious, why wouldnt it be possible to dynamicly load ffmpeg
> library if existing in the system.
> (via search path, ld path etc.)?
I haven't tried to use ffmpeg, but I have written dynamically loaded
libraries as part of a plugin system for an emulator. Both main program
and libraries are C code for Linux. The program will compile and link
easily enough if your code is compatible with the library function's
prototype. However, if the function's interface doesn't match the
prototype (which could be the case if the library was replaced with a
later version and the caller was not recompiled) or there's a name
clash between extern variable names, i.e. the same variable is defined
in both library and calling program, then the library will load OK but
you'll get a linkage failure at run time.
More information about the wine-users