[Libav-user] how to delay load external dlls

wm4 nfxjfg at googlemail.com
Wed Apr 23 22:46:44 CEST 2014


On Wed, 23 Apr 2014 22:21:39 +1000
YIRAN LI <mrfun.china at gmail.com> wrote:

> Hi,
> 
> I'm building ffmpeg for Windows under MinGW. What I want to achieve is
> build ffmpeg with some dynamic external libraries so that only when a
> specific dll is needed will be be downloaded and run.
> 
> I was able to build ffmpeg with dynamic external libraries, but by default,
> libavcodec.dll can't be loaded if external libraries are not present.
> 
> So I'd like to know if there's any workaround so that libavcodec.dll can be
> loaded even when external libraries are not available.
> 
> Thanks

ffmpeg doesn't implement something this specific and questionable. I
mean, do you really expect that it goes out of its way to support such a
really strange and complicated use-case?

Unless you use libavcodec for encoding, you'll actually be fine without
external libraries.


More information about the Libav-user mailing list