Re: RFC: New dependency on FFmpeg?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2015-08-21 at 10:39 +0200, georg@bege.email wrote:
> Hi
> 
> 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.
  

HTH

Martin






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux