[Libav-user] how to delay load external dlls

Anshul anshul.ffmpeg at gmail.com
Wed Apr 23 17:25:35 CEST 2014

YIRAN LI <mrfun.china at gmail.com> wrote:
>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
>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.
>Libav-user mailing list
>Libav-user at ffmpeg.org

You should keep all dependent library to default location of windows library, i just keep all my dependent library where i keep my executable. 
It works for me.

I dont know lot about enviorment  of windows,  but i think there must be one or registery entry for loading library.

Sent from my Android device with K-9 Mail. Please excuse my brevity.

More information about the Libav-user mailing list